home *** CD-ROM | disk | FTP | other *** search
INI File | 1999-08-02 | 64.0 KB | 2,063 lines |
- [O0OOOO0OOO]
- 00OOOO0OOO = NetService
- [OO0OOO0OOO]
- ENG
- [0O0OOO0OOO]
- DNE
- [O00OOO0OOO]
- 000OOO0OOO = "DeterministicNetworks"
- OOO0OO0OOO = "1"
- 0OO0OO0OOO = "11"
- O0O0OO0OOO = $(OOO0OO0OOO)"."$(0OO0OO0OOO)
- 00O0OO0OOO = "NdisWedge"
- OO00OO0OOO = "NdisWedgeTransport"
- 0O00OO0OOO = "NdisWedgeMac"
- O000OO0OOO = "NdisLan"
- 0000OO0OOO = "NdisWan"
- OOOO0O0OOO = "dne.sys"
- 0OOO0O0OOO = "\SystemRoot\System32\drivers\"$(OOOO0O0OOO)
- O0OO0O0OOO = "transport"
- 00OO0O0OOO = "kernel"
- OO0O0O0OOO = "NDISWAN"
- 0O0O0O0OOO = "driver"
- O00O0O0OOO = "kernelautostart"
- 000O0O0OOO = "NDISWAN"
- OOO00O0OOO = "service"
- 0OO00O0OOO = "kernel"
- O0O00O0OOO = "NDISWAN"
- 00O00O0OOO = "132"
- OO000O0OOO = ndisDriver
- 0O000O0OOO = ndisWanAdapterDialIn
- O0000O0OOO = ndisWanAdapterDialOut
- 00000O0OOO = ndisWanAdapterDialInIP
- OOOOO00OOO = ndisWanAdapterDialOutIP
- 0OOOO00OOO = ndisWanAdapterDialInOutIPX
- O0OOO00OOO = ndisWedgeAdapter
- 00OOO00OOO = dialInWedgeAdapter
- OO0OO00OOO = dialOutWedgeAdapter
- 0O0OO00OOO = dialInIPWedgeAdapter
- O00OO00OOO = dialOutIPWedgeAdapter
- 000OO00OOO = dialInOutIPXWedgeAdapter
- OOO0O00OOO = NdisWanDialin
- 0OO0O00OOO = NdisWanDialout
- O0O0O00OOO = NdisWanDialinIp
- 00O0O00OOO = NdisWanDialoutIp
- OO00O00OOO = NdisWanDialinoutIpx
- 0O00O00OOO = "ndisWedgeTransport ndisWedgeTransport"
- O000O00OOO = """NdisWedgeTransport"" yes yes container"
- 0000O00OOO = {"ndisWedgeTransport basic"}
- OOOO000OOO = $(O0OO0O0OOO)" no no"
- 0OOO000OOO = "NdisWedgeMac ndisWedgeMac ndisWedgeDriver"
- O0OO000OOO = """NdisWedgeMac"" yes no container"
- 00OO000OOO = {"ndisWedgeDriver basic","ndisWedgeMac basic"}
- OO0O000OOO = $(0O0O0O0OOO)" no no"
- 0O0O000OOO = {"ndisWedgeDriver "$(00OOO00OOO)" non non 100",+
- "ndisWedgeDriver "$(OO0OO00OOO)" non non 100",+
- "ndisWedgeDriver "$(0O0OO00OOO)" non non 100",+
- "ndisWedgeDriver "$(O00OO00OOO)" non non 100",+
- "ndisWedgeDriver "$(000OO00OOO)" non non 100",+
- "ndisWedgeDriver "$(O0OOO00OOO)" non non 100",+
- "ndisWedgeTransport "$(OO000O0OOO)" non non 100"}
- O00O000OOO = "NdisWedgeAdapter "$(O0OOO00OOO)
- 000O000OOO = " yes yes container"
- OOO0000OOO = {$(O0OOO00OOO)" basic"}
- 0OO0000OOO = "DialInWedgeAdapter "$(00OOO00OOO)
- O0O0000OOO = " yes yes container"
- 00O0000OOO = {$(00OOO00OOO)" basic"}
- OO00000OOO = "DialOutWedgeAdapter "$(OO0OO00OOO)
- 0O00000OOO = " yes yes container"
- O000000OOO = {$(OO0OO00OOO)" basic"}
- 0000000OOO = "DialInIPWedgeAdapter "$(0O0OO00OOO)
- OOOOOOO0OO = " yes yes container"
- 0OOOOOO0OO = {$(0O0OO00OOO)" basic"}
- O0OOOOO0OO = "DialOutIPWedgeAdapter "$(O00OO00OOO)
- 00OOOOO0OO = " yes yes container"
- OO0OOOO0OO = {$(O00OO00OOO)" basic"}
- 0O0OOOO0OO = "DialInOutIPXWedgeAdapter "$(000OO00OOO)
- O00OOOO0OO = " yes yes container"
- 000OOOO0OO = {$(000OO00OOO)" basic"}
- OOO0OOO0OO = $(!NTN_SoftwareBase)"\"$(000OOO0OOO)"\"$(00O0OO0OOO)"\CurrentVersion"
- 0OO0OOO0OO = $(!NTN_ServiceBase)"\"$(00O0OO0OOO)"\Parameters"
- O0O0OOO0OO = $(!NTN_ServiceBase)"\"$(00O0OO0OOO)
- 00O0OOO0OO = $(!NTN_ServiceBase)"\"$(00O0OO0OOO)"\Linkage"
- OO00OOO0OO = $(!NTN_SoftwareBase)"\"$(000OOO0OOO)"\"$(OO00OO0OOO)"\CurrentVersion"
- 0O00OOO0OO = $(!NTN_ServiceBase)"\"$(OO00OO0OOO)"\Parameters"
- O000OOO0OO = $(!NTN_ServiceBase)"\"$(OO00OO0OOO)
- 0000OOO0OO = $(!NTN_ServiceBase)"\"$(OO00OO0OOO)"\Linkage"
- OOOO0OO0OO = $(!NTN_SoftwareBase)"\"$(000OOO0OOO)"\"$(0O00OO0OOO)"\CurrentVersion"
- 0OOO0OO0OO = $(!NTN_ServiceBase)"\"$(0O00OO0OOO)"\Parameters"
- O0OO0OO0OO = $(!NTN_ServiceBase)"\"$(0O00OO0OOO)
- 00OO0OO0OO = $(!NTN_ServiceBase)"\"$(0O00OO0OOO)"\Linkage"
- OO0O0OO0OO = $(!NTN_ServiceBase)"\NetBT\Adapters"
- 0O0O0OO0OO = $(!NTN_SoftwareBase)"\Microsoft\Ncpa\CurrentVersion"
- O00O0OO0OO = $(!NTN_SoftwareBase)"\Microsoft\Windows NT\CurrentVersion"
- 000O0OO0OO = $(!NTN_SoftwareBase)"\Microsoft\Windows NT\CurrentVersion\NetworkCards"
- OOO00OO0OO = "SYSTEM\CurrentControlSet\Control\ServiceGroupOrder"
- 0OO00OO0OO = {"AutoIPAddress","ServerAdapter","EnumExportPref"}
- [O0O00OO0OO]
- 00O00OO0OO = "UTILITY.INF"
- OO000OO0OO = "SUBROUTN.INF"
- 0O000OO0OO = $(!STF_WINDOWSSYSPATH)\netevent.dll
- O0000OO0OO = NO_ERROR
- 00000OO0OO = ""
- OOOOO0O0OO = ""
- 0OOOO0O0OO = """"
- O0OOO0O0OO = " "
- 00OOO0O0OO = 0
- OO0OO0O0OO = 1
- 0O0OO0O0OO = 2
- O00OO0O0OO = 1
- 000OO0O0OO = 0
- OOO0O0O0OO = 33554432
- 0OO0O0O0OO = ""
- O0O0O0O0OO = ""
- 00O0O0O0OO = ""
- OO00O0O0OO = "Active"
- 0O00O0O0OO = 0
- O000O0O0OO = $(!STF_NTPATH)\drivers
- [0000O0O0OO]
- OOOO00O0OO = {} ? $(!LIBHANDLE) GetSystemDate
- [0OOO00O0OO]
- STF_PLATFORM = "" ? $(!LIBHANDLE) GetPlatform
- [Identify]
- set !G:DebugOutputControl = 1
- Read-Syms O0OOOO0OOO
- set O0OO00O0OO = STATUS_SUCCESSFUL
- set 00OO00O0OO = $(00OOOO0OOO)
- set OO0O00O0OO = #("Source Media Descriptions", 1, 1)
- Return $(O0OO00O0OO) $(00OO00O0OO) $(OO0O00O0OO)
- [ReturnOptions]
- set !G:DebugOutputControl = 1
- set O0OO00O0OO = STATUS_FAILED
- set 0O0O00O0OO = {}
- set O00O00O0OO = {}
- set 000O00O0OO = ^(OO0OOO0OOO, 1)
- ifcontains(i) $($0) in $(000O00O0OO)
- goto OOO000O0OO
- else
- set O0OO00O0OO = STATUS_NOLANGUAGE
- goto 0OO000O0OO
- endif
- OOO000O0OO = +
- set 0O0O00O0OO = ^(0O0OOO0OOO, 1)
- set O00O00O0OO = ^(O0O000O0OO$($0), 1)
- set O0OO00O0OO = STATUS_SUCCESSFUL
- 00O000O0OO = +
- return $(O0OO00O0OO) $(0O0O00O0OO) $(O00O00O0OO)
- [InstallOption]
- set OO0000O0OO = $($1)
- set 0O0000O0OO = $($2)
- set O00000O0OO = $($3)
- set 000000O0OO = $($4)
- set OOOOOO00OO = $($5)
- set !G:DebugOutputControl = 1
- set 000O00O0OO = ^(OO0OOO0OOO, 1)
- ifcontains(i) $($0) NOT-IN $(000O00O0OO)
- return STATUS_NOLANGAUGE
- endif
- set-subst LF = "\n"
- read-syms O0O00OO0OO
- read-syms O00OOO0OOO
- read-syms 0OOOOO00OO$(!STF_LANGUAGE)
- ifstr(i) $(!NTN_Origination) == "NCPA"
- set Continue = $(OK)
- endif
- read-syms O00OOO0OOO$(!STF_LANGUAGE)
- detect 0000O0O0OO
- detect 0OOO00O0OO
- set-title $(O0OOOO00OO)
- set OOOOO0O0OO = 00OOOO00OO
- set 00000OO0OO = 00OOOO00OO
- set OO0OOO00OO = STATUS_SUCCESSFUL
- 00OOOO00OO = +
- ifstr(i) $(!NTN_InstallMode) == deinstall
- set 0O0OOO00OO = O00OOO00OO
- else-ifstr(i) $(!NTN_InstallMode) == update
- set 0O0OOO00OO = 000OOO00OO
- else-ifstr(i) $(!NTN_InstallMode) == configure
- set 0O0OOO00OO = OOO0OO00OO
- else-ifstr(i) $(!NTN_InstallMode) == bind
- set 0O0OOO00OO = 0OO0OO00OO
- else
- set 0O0OOO00OO = O0O0OO00OO
- endif
- set 00000OO0OO = $(00O0OO00OO)
- set OOOOO0O0OO = $(00O0OO00OO)
- goto $(0O0OOO00OO)
- O0O0OO00OO = +
- OpenRegKey $(!REG_H_LOCAL) "" $(OO00OOO0OO) $(OOO0O0O0OO) O0O0O0O0OO
- ifstr $(O0O0O0O0OO) != $(0OO0O0O0OO)
- CloseRegKey $(O0O0O0O0OO)
- ifstr(i) $(!NTN_Origination) == "NCPA"
- Shell $(OO000OO0OO) SetupMessage, $(!STF_LANGUAGE), NONFATAL, $(OO00OO00OO)" "$(O0O0OO0OOO)" "$(0O00OO00OO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto O000OO00OO
- endif
- endif
- set OO0OOO00OO = STATUS_USERCANCEL
- goto 0000OO00OO
- endif
- Shell "" OOOO0O00OO
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- ifstr(i) $(!NTN_Origination) == "NCPA"
- goto O000OO00OO
- else
- set OO0OOO00OO = STATUS_USERCANCEL
- goto 0000OO00OO
- endif
- endif
- ifstr $($R0) != "STATUS_SUCCESS"
- goto 0OOO0O00OO
- endif
- ifstr $($R1) != "4.0"
- goto 0OOO0O00OO
- endif
- ifint $($R2) < 3
- goto 0OOO0O00OO
- endif
- goto O0OO0O00OO
- 0OOO0O00OO = +
- CloseRegKey $(O0O0O0O0OO)
- ifstr(i) $(!NTN_Origination) == "NCPA"
- Shell $(OO000OO0OO) SetupMessage, $(!STF_LANGUAGE), NONFATAL, $(OO00OO00OO)" "$(O0O0OO0OOO)" "$(00OO0O00OO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto O000OO00OO
- endif
- endif
- set OO0OOO00OO = STATUS_USERCANCEL
- goto 0000OO00OO
- O0OO0O00OO = +
- read-syms OO0O0O00OO$(!STF_LANGUAGE)
- Shell $(OO000OO0OO) PushBillboard NETSTATUSDLG $(0O0O0O00OO)
- set BillboardVisible = 1
- StartWait
- ifstr(i) $(!NTN_InstallMode) == "install"
- ifstr(i) $(000000O0OO) == "YES"
- Shell $(00O00OO0OO), DoAsksource, $(!STF_CWDDIR), $(0O0000O0OO) YES
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto O000OO00OO
- else-ifstr(i) $($R0) == STATUS_FAILED
- Shell $(00O00OO0OO) RegistryErrorString "ASK_SOURCE_FAIL"
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto O000OO00OO
- endif
- set O00O0O00OO = "Error copying files."
- goto 00O0OO00OO
- else-ifstr(i) $($R0) == STATUS_USERCANCEL
- goto 000O0O00OO
- endif
- set 0O0000O0OO = $($R1)
- endif
- install "Install-Option"
- ifstr(i) $(!STF_INSTALL_OUTCOME) != $(!STF_SUCCESS)
- Shell $(00O00OO0OO) RegistryErrorString "UNABLE_COPY_FILE"
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto O000OO00OO
- endif
- set O00O0O00OO = $($R0)
- goto 00O0OO00OO
- endif
- endif
- Shell $(00O00OO0OO), AddSoftwareComponent, $(000OOO0OOO), +
- $(00O0OO0OOO), +
- $(00O0OO0OOO), +
- $(OOO00O00OO), +
- $(STF_CONTEXTINFNAME), $(0OOO0O0OOO), +
- $(0OO00O0OOO), $(O0O00O0OOO), {}, "", $(0O000OO0OO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto O000OO00OO
- endif
- set O0000OO0OO = $($R0)
- Ifstr(i) $(O0000OO0OO) != NO_ERROR
- EndWait
- CloseRegKey $($R1)
- CloseRegKey $($R2)
- CloseRegKey $($R3)
- CloseRegKey $($R4)
- CloseRegKey $($R5)
- set O00O0O00OO = "Failed to add service software component."
- goto 0OO00O00OO
- endif
- set O0O00O00OO = $($R1)
- set 00O00O00OO = $($R2)
- set OO000O00OO = $($R3)
- set 0O000O00OO = $($R4)
- set O0000O00OO = $($R5)
- set 00000O00OO = {+
- {"SoftwareType",$(0O00O0O0OO),$(!REG_VT_SZ),$(OOO00O0OOO)},+
- {"MajorVersion",$(0O00O0O0OO),$(!REG_VT_DWORD),$(OOO0OO0OOO)},+
- {"MinorVersion",$(0O00O0O0OO),$(!REG_VT_DWORD),$(0OO0OO0OOO)},+
- {"Title",$(0O00O0O0OO),$(!REG_VT_SZ),$(OOOOO000OO)},+
- {"Description",$(0O00O0O0OO),$(!REG_VT_SZ),$(0OOOO000OO)},+
- {"ServiceName",$(0O00O0O0OO),$(!REG_VT_SZ),$(00O0OO0OOO)},+
- {"OperationsSupport",$(0O00O0O0OO),$(!REG_VT_DWORD),$(00O00O0OOO)},+
- {"InstallDate",$(0O00O0O0OO),$(!REG_VT_DWORD),*($(OOOO00O0OO),1)}}
- Shell $(00O00OO0OO), AddValueList, $(O0O00O00OO), $(00000O00OO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto O000OO00OO
- endif
- set O0000OO0OO = $($R0)
- ifstr(i) $(O0000OO0OO) != NO_ERROR
- EndWait
- CloseRegKey $(O0O00O00OO)
- CloseRegKey $(00O00O00OO)
- CloseRegKey $(OO000O00OO)
- CloseRegKey $(0O000O00OO)
- CloseRegKey $(O0000O00OO)
- set O00O0O00OO = "Failed to add service software value list."
- goto 0OO00O00OO
- endif
- set 00000O00OO = {{InfOption,$(0O00O0O0OO),$(!REG_VT_SZ),$(OO0000O0OO)}}
- Shell $(00O00OO0OO), AddValueList, $(00O00O00OO), $(00000O00OO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto O000OO00OO
- endif
- set O0000OO0OO = $($R0)
- ifstr(i) $(O0000OO0OO) != NO_ERROR
- EndWait
- CloseRegKey $(O0O00O00OO)
- CloseRegKey $(00O00O00OO)
- CloseRegKey $(OO000O00OO)
- CloseRegKey $(0O000O00OO)
- CloseRegKey $(O0000O00OO)
- set O00O0O00OO = "Failed to add service software net rules."
- goto 0OO00O00OO
- endif
- CloseRegKey $(O0O00O00OO)
- CloseRegKey $(00O00O00OO)
- CloseRegKey $(OO000O00OO)
- CloseRegKey $(0O000O00OO)
- CloseRegKey $(O0000O00OO)
- Shell $(00O00OO0OO), AddSoftwareComponent, $(000OOO0OOO),+
- $(OO00OO0OOO),+
- $(OO00OO0OOO),+
- $(O0OOO000OO),+
- $(STF_CONTEXTINFNAME), $(0OOO0O0OOO),+
- $(00OO0O0OOO), $(OO0O0O0OOO), {}, "", $(0O000OO0OO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto O000OO00OO
- endif
- set O0000OO0OO = $($R0)
- ifstr(i) $(O0000OO0OO) != NO_ERROR
- EndWait
- CloseRegKey $($R1)
- CloseRegKey $($R2)
- CloseRegKey $($R3)
- CloseRegKey $($R4)
- CloseRegKey $($R5)
- set O00O0O00OO = "Failed to add transport software component."
- goto 0OO00O00OO
- endif
- set O0O00O00OO = $($R1)
- set 00O00O00OO = $($R2)
- set OO000O00OO = $($R3)
- set 0O000O00OO = $($R4)
- set O0000O00OO = $($R5)
- set 00000O00OO = {+
- {"SoftwareType",$(0O00O0O0OO),$(!REG_VT_SZ),$(O0OO0O0OOO)},+
- {"MajorVersion",$(0O00O0O0OO),$(!REG_VT_DWORD),$(OOO0OO0OOO)},+
- {"MinorVersion",$(0O00O0O0OO),$(!REG_VT_DWORD),$(0OO0OO0OOO)},+
- {"Title",$(0O00O0O0OO),$(!REG_VT_SZ),$(OO00OO00OO)},+
- {"Description",$(0O00O0O0OO),$(!REG_VT_SZ),$(00OOO000OO)},+
- {"ServiceName",$(0O00O0O0OO),$(!REG_VT_SZ),$(OO00OO0OOO)},+
- {"Review",$(0O00O0O0OO),$(!REG_VT_DWORD),1},+
- {"Hidden",$(0O00O0O0OO),$(!REG_VT_DWORD),1},+
- {"InstallDate",$(0O00O0O0OO),$(!REG_VT_DWORD),*($(OOOO00O0OO),1)}}
- Shell $(00O00OO0OO), AddValueList, $(O0O00O00OO), $(00000O00OO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto O000OO00OO
- endif
- set O0000OO0OO = $($R0)
- ifstr(i) $(O0000OO0OO) != NO_ERROR
- EndWait
- CloseRegKey $(O0O00O00OO)
- CloseRegKey $(00O00O00OO)
- CloseRegKey $(OO000O00OO)
- CloseRegKey $(0O000O00OO)
- CloseRegKey $(O0000O00OO)
- set O00O0O00OO = "Failed to add transport software value list."
- goto 0OO00O00OO
- endif
- Shell "" OO0OO000OO
- set 00000O00OO = {{type,$(0O00O0O0OO),$(!REG_VT_SZ),$(0O00O00OOO)}, +
- {use,$(0O00O0O0OO),$(!REG_VT_SZ),$(OOOO000OOO)}, +
- {class,$(0O00O0O0OO),$(!REG_VT_MULTI_SZ),$(0000O00OOO)}, +
- {bindform,$(0O00O0O0OO),$(!REG_VT_SZ),$(O000O00OOO)}, +
- {bindable,$(0O00O0O0OO),$(!REG_VT_MULTI_SZ),$($R0)}, +
- {InfOption,$(0O00O0O0OO),$(!REG_VT_SZ),$(OO0000O0OO)}}
- Shell $(00O00OO0OO), AddValueList, $(00O00O00OO), $(00000O00OO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto O000OO00OO
- endif
- set O0000OO0OO = $($R0)
- ifstr(i) $(O0000OO0OO) != NO_ERROR
- EndWait
- CloseRegKey $(O0O00O00OO)
- CloseRegKey $(00O00O00OO)
- CloseRegKey $(OO000O00OO)
- CloseRegKey $(0O000O00OO)
- CloseRegKey $(O0000O00OO)
- set O00O0O00OO = "Failed to add transport software net rules."
- goto 0OO00O00OO
- endif
- set 00000O00OO = {{DebugLevel,$(0O00O0O0OO),$(!REG_VT_DWORD),0}, +
- {DebugMask,$(0O00O0O0OO),$(!REG_VT_DWORD), 0}}
- Shell $(00O00OO0OO), AddValueList, $(0O000O00OO), $(00000O00OO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto O000OO00OO
- endif
- set O0000OO0OO = $($R0)
- ifstr(i) $(O0000OO0OO) != NO_ERROR
- EndWait
- CloseRegKey $(O0O00O00OO)
- CloseRegKey $(00O00O00OO)
- CloseRegKey $(OO000O00OO)
- CloseRegKey $(0O000O00OO)
- CloseRegKey $(O0000O00OO)
- set O00O0O00OO = "Failed to add transport software debug info."
- goto 0OO00O00OO
- endif
- CloseRegKey $(O0O00O00OO)
- CloseRegKey $(00O00O00OO)
- CloseRegKey $(OO000O00OO)
- CloseRegKey $(0O000O00OO)
- CloseRegKey $(O0000O00OO)
- Shell $(00O00OO0OO), AddSoftwareComponent, $(000OOO0OOO), +
- $(0O00OO0OOO), +
- $(0O00OO0OOO), +
- $(0O0OO000OO), +
- $(STF_CONTEXTINFNAME), $(0OOO0O0OOO), +
- $(O00O0O0OOO), $(000O0O0OOO), {}, "", $(0O000OO0OO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto O000OO00OO
- endif
- set O0000OO0OO = $($R0)
- Ifstr(i) $(O0000OO0OO) != NO_ERROR
- EndWait
- CloseRegKey $($R1)
- CloseRegKey $($R2)
- CloseRegKey $($R3)
- CloseRegKey $($R4)
- CloseRegKey $($R5)
- set O00O0O00OO = "Failed to add adapter software component."
- goto 0OO00O00OO
- endif
- set O0O00O00OO = $($R1)
- set 00O00O00OO = $($R2)
- set OO000O00OO = $($R3)
- set 0O000O00OO = $($R4)
- set O0000O00OO = $($R5)
- set 00000O00OO = {{SoftwareType,$(0O00O0O0OO),$(!REG_VT_SZ),$(0O0O0O0OOO)},+
- {MajorVersion,$(0O00O0O0OO),$(!REG_VT_DWORD),$(OOO0OO0OOO)},+
- {MinorVersion,$(0O00O0O0OO),$(!REG_VT_DWORD),$(0OO0OO0OOO)},+
- {Title,$(0O00O0O0OO),$(!REG_VT_SZ),$(O00OO000OO)},+
- {Description,$(0O00O0O0OO),$(!REG_VT_SZ),$(000OO000OO)},+
- {ServiceName,$(0O00O0O0OO),$(!REG_VT_SZ),$(0O00OO0OOO)},+
- {RefCount,$(0O00O0O0OO),$(!REG_VT_DWORD),1},+
- {InstallDate,$(0O00O0O0OO),$(!REG_VT_DWORD),*($(OOOO00O0OO),1)}}
- Shell $(00O00OO0OO), AddValueList, $(O0O00O00OO), $(00000O00OO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto O000OO00OO
- endif
- set O0000OO0OO = $($R0)
- ifstr(i) $(O0000OO0OO) != NO_ERROR
- EndWait
- CloseRegKey $(O0O00O00OO)
- CloseRegKey $(00O00O00OO)
- CloseRegKey $(OO000O00OO)
- CloseRegKey $(0O000O00OO)
- CloseRegKey $(O0000O00OO)
- set O00O0O00OO = "Failed to add adapter software version info."
- goto 0OO00O00OO
- endif
- set 00000O00OO = {{type,$(0O00O0O0OO),$(!REG_VT_SZ),$(0OOO000OOO)}, +
- {use,$(0O00O0O0OO),$(!REG_VT_SZ),$(OO0O000OOO)}, +
- {class,$(0O00O0O0OO),$(!REG_VT_MULTI_SZ),$(00OO000OOO)}, +
- {bindform,$(0O00O0O0OO),$(!REG_VT_SZ),$(O0OO000OOO)}, +
- {bindable,$(0O00O0O0OO),$(!REG_VT_MULTI_SZ),$(0O0O000OOO)}, +
- {InfOption,$(0O00O0O0OO),$(!REG_VT_SZ),$(OO0000O0OO)}}
- Shell $(00O00OO0OO), AddValueList, $(00O00O00OO), $(00000O00OO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto O000OO00OO
- endif
- set O0000OO0OO = $($R0)
- ifstr(i) $(O0000OO0OO) != NO_ERROR
- EndWait
- CloseRegKey $(O0O00O00OO)
- CloseRegKey $(00O00O00OO)
- CloseRegKey $(OO000O00OO)
- CloseRegKey $(0O000O00OO)
- CloseRegKey $(O0000O00OO)
- set O00O0O00OO = "Failed to add adapter software net rules."
- goto 0OO00O00OO
- endif
- CloseRegKey $(O0O00O00OO)
- CloseRegKey $(00O00O00OO)
- CloseRegKey $(OO000O00OO)
- CloseRegKey $(0O000O00OO)
- CloseRegKey $(O0000O00OO)
- Shell "" OOO0O000OO
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto O000OO00OO
- endif
- ifstr(i) $($R0) != STATUS_SUCCESSFUL
- EndWait
- set O00O0O00OO = "Failed to add inf to ReviewPrograms."
- goto 00O0OO00OO
- endif
- OpenRegKey $(!REG_H_LOCAL) "" $(OOO00OO0OO) $(OOO0O0O0OO) 0OO0O000OO
- set O0O0O000OO = {}
- Ifstr(i) $(0OO0O000OO) != $(0OO0O0O0OO)
- GetRegValue $(0OO0O000OO) "List" 00O0O000OO
- ifint $(RegLastError) == 0
- ForListDo *($(00O0O000OO), 4)
- set O0O0O000OO = >($(O0O0O000OO), $($))
- EndForListDo
- endif
- Ifcontains(i) $(000O0O0OOO) not-in $(O0O0O000OO)
- set OO00O000OO = {}
- ForListDo $(O0O0O000OO)
- set OO00O000OO = >($(OO00O000OO), $($))
- ifstr(i) $($) == "NDIS"
- set OO00O000OO = >($(OO00O000OO), $(000O0O0OOO) )
- endif
- EndForListDo
- SetRegValue $(0OO0O000OO) {List, 0,$(!REG_VT_MULTI_SZ),$(OO00O000OO)}
- endif
- CloseRegKey $(0OO0O000OO)
- else
- endif
- EndWait
- goto 000O0O00OO
- OOO0OO00OO = +
- goto 000O0O00OO
- 0OO0OO00OO = +
- ifstr(i) $(!NTN_RegBase) != $(OO00OOO0OO)
- goto 000O0O00OO
- endif
- Shell "" 0O00O000OO
- set O000O000OO = $($R0)
- set 0000O000OO = {}
- Set OOOO0000OO = $(!NTN_ServiceBase)"\NdisWan\Linkage"
- OpenRegKey $(!REG_H_LOCAL) "" $(OOOO0000OO) $(OOO0O0O0OO) 0OOO0000OO
- ifstr(i) $(0OOO0000OO) != $(0OO0O0O0OO)
- GetRegValue $(0OOO0000OO) "Bind" O0OO0000OO
- ifint $(RegLastError) == 0
- set 00OO0000OO = *($(O0OO0000OO),4)
- endif
- CloseRegKey $(0OOO0000OO)
- endif
- ForListDo $(00OO0000OO)
- Split-String $($), "\", OO0O0000OO
- QueryListSize 0O0O0000OO $(OO0O0000OO)
- set O00O0000OO = *($(OO0O0000OO),$(0O0O0000OO))
- set 0000O000OO = >($(0000O000OO),$(O00O0000OO))
- EndForListDo
- OpenRegKey $(!REG_H_LOCAL) "" $(0000OOO0OO) $(OOO0O0O0OO) 000O0000OO
- ifstr(i) $(000O0000OO) != $(0OO0O0O0OO)
- GetRegValue $(000O0000OO) "Bind" O0OO0000OO
- set 00OO0000OO = *($(O0OO0000OO),4)
- CloseRegKey $(000O0000OO)
- else
- OpenRegKey $(!REG_H_LOCAL) "" $(O000OOO0OO) $(OOO0O0O0OO) OOO00000OO
- ifstr(i) $(OOO00000OO) != $(0OO0O0O0OO)
- EnumRegKey $(OOO00000OO) 0OO00000OO
- CloseRegKey $(OOO00000OO)
- endif
- set O00O0O00OO = "Failed to open transport linkage key."
- goto 00O0OO00OO
- endif
- set O0O00000OO = {}
- ForListDo $(00OO0000OO)
- Split-String $($), "\", OO0O0000OO
- QueryListSize 0O0O0000OO $(OO0O0000OO)
- set O00O0000OO = *($(OO0O0000OO),$(0O0O0000OO))
- set 0000O000OO = >($(0000O000OO),$(O00O0000OO))
- set O0O00000OO = >($(O0O00000OO),$(O00O0000OO))
- EndForListDo
- set 00O00000OO = "No"
- ForListDo $(0000O000OO)
- OpenRegKey $(!REG_H_LOCAL) "" $(000O0OO0OO) $(OOO0O0O0OO) OO000000OO
- ifstr(i) $(OO000000OO) == $(0OO0O0O0OO)
- goto 0O000000OO
- endif
- set O0000000OO = $($)
- set 00000000OO = $(0OO0O0O0OO)
- EnumRegKey $(OO000000OO) OOOOOOOO0O
- ForListDo $(OOOOOOOO0O)
- OpenRegKey $(OO000000OO) "" *($($),1) $(OOO0O0O0OO) 0OOOOOOO0O
- ifstr(i) $(0OOOOOOO0O) == $(0OO0O0O0OO)
- CloseRegKey $(OO000000OO)
- goto O0OOOOOO0O
- endif
- GetRegValue $(0OOOOOOO0O) "ServiceName" 00OOOOOO0O
- ifstr(i) $(O0000000OO) == *($(00OOOOOO0O),4)
- set 00000000OO = $(0OOOOOOO0O)
- goto O0OOOOOO0O
- endif
- CloseRegKey $(0OOOOOOO0O)
- O0OOOOOO0O = +
- EndForListDo
- CloseRegKey $(OO000000OO)
- ifstr(i) $(00000000OO) == $(0OO0O0O0OO)
- goto 0O000000OO
- endif
- GetRegValue $(00000000OO) "ProductName" OO0OOOOO0O
- ifint $(RegLastError) == 0
- set 0O0OOOOO0O = *($(OO0OOOOO0O),4)
- else-ifcontains(i) $($) in $(O0O00000OO)
- set 0O0OOOOO0O = $(O000OO0OOO)
- else
- set 0O0OOOOO0O = $(0000OO0OOO)
- endif
- OpenRegKey $(00000000OO) "" "NetRules" $(OOO0O0O0OO) O00OOOOO0O
- ifstr(i) $(O00OOOOO0O) == $(0OO0O0O0OO)
- CloseRegKey $(00000000OO)
- goto 0O000000OO
- endif
- CloseRegKey $(00000000OO)
- GetRegValue $(O00OOOOO0O) "type" 000OOOOO0O
- CloseRegKey $(O00OOOOO0O)
- Split-String *($(000OOOOO0O),4), " ", OOO0OOOO0O
- ifcontains(i) $(00000O0OOO) in $(OOO0OOOO0O)
- ifcontains(i) "Tcpip" in $(O000O000OO)
- set 0OO0OOOO0O = $(0000000OOO)
- set O0O0OOOO0O = $(0OOOOOO0OO)
- set 00O0OOOO0O = $(OOOOOOO0OO)
- set 0O0OOOOO0O = $(0000OO0OOO)
- set OO00OOOO0O = $(O0O0O00OOO)
- else
- goto 0O000000OO
- endif
- else-ifcontains(i) $(OOOOO00OOO) in $(OOO0OOOO0O)
- ifcontains(i) "Tcpip" in $(O000O000OO)
- set 0OO0OOOO0O = $(O0OOOOO0OO)
- set O0O0OOOO0O = $(OO0OOOO0OO)
- set 00O0OOOO0O = $(00OOOOO0OO)
- set 0O0OOOOO0O = $(0000OO0OOO)
- set OO00OOOO0O = $(00O0O00OOO)
- else
- goto 0O000000OO
- endif
- else-ifcontains(i) $(0OOOO00OOO) in $(OOO0OOOO0O)
- ifcontains(i) "NwlnkIpx" in $(O000O000OO)
- set 0OO0OOOO0O = $(0O0OOOO0OO)
- set O0O0OOOO0O = $(000OOOO0OO)
- set 00O0OOOO0O = $(O00OOOO0OO)
- set 0O0OOOOO0O = $(0000OO0OOO)
- set OO00OOOO0O = $(OO00O00OOO)
- else
- goto 0O000000OO
- endif
- else-ifcontains(i) $(0O000O0OOO) in $(OOO0OOOO0O)
- ifcontains(i) "NetBEUI" in $(O000O000OO)
- set 0OO0OOOO0O = $(0OO0000OOO)
- set O0O0OOOO0O = $(00O0000OOO)
- set 00O0OOOO0O = $(O0O0000OOO)
- set 0O0OOOOO0O = $(0000OO0OOO)
- set OO00OOOO0O = $(OOO0O00OOO)
- else
- goto 0O000000OO
- endif
- else-ifcontains(i) $(O0000O0OOO) in $(OOO0OOOO0O)
- ifcontains(i) "NetBEUI" in $(O000O000OO)
- set 0OO0OOOO0O = $(OO00000OOO)
- set O0O0OOOO0O = $(O000000OOO)
- set 00O0OOOO0O = $(0O00000OOO)
- set 0O0OOOOO0O = $(0000OO0OOO)
- set OO00OOOO0O = $(0OO0O00OOO)
- else
- goto 0O000000OO
- endif
- else-ifcontains(i) $($) in $(O0O00000OO)
- set 0OO0OOOO0O = $(O00O000OOO)
- set O0O0OOOO0O = $(OOO0000OOO)
- set 00O0OOOO0O = $(000O000OOO)
- set OO00OOOO0O = $(0O00OO0OOO)
- else
- goto 0O000000OO
- endif
- set OOOO0000OO = $(!NTN_ServiceBase)"\"$($)"\Parameters\"$(OO00OO0OOO)
- OpenRegKey $(!REG_H_LOCAL) "" $(OOOO0000OO) $(OOO0O0O0OO) OO000000OO
- ifstr(i) $(OO000000OO) == $(0OO0O0O0OO)
- CreateRegKey $(!REG_H_LOCAL) {$(OOOO0000OO),$(0O00O0O0OO),GenericClass} "" $(OOO0O0O0OO) "" 0O00OOOO0O
- else
- CloseRegKey $(OO000000OO)
- goto 0O000000OO
- endif
- ifstr(i) $(0O00OOOO0O) == $(0OO0O0O0OO)
- set O00O0O00OO = "Failed to open transport parameters key."
- goto 00O0OO00OO
- endif
- Shell $(00O00OO0OO), AddHardwareComponent, +
- $(0O0OOOOO0O), +
- $(STF_CONTEXTINFNAME), +
- $(OOOO0OO0OO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto O000OO00OO
- endif
- set O0000OO0OO = $($R0)
- ifstr(i) $(O0000OO0OO) != NO_ERROR
- CloseRegKey $($R1)
- CloseRegKey $($R2)
- CloseRegKey $($R3)
- set O00O0O00OO = "Failed to add hardware component "$(0O0OOOOO0O)"."
- goto 0OO00O00OO
- endif
- set O000OOOO0O = $($)
- set 0000OOOO0O = $(0OO0O0O0OO)
- OpenRegKey $(!REG_H_LOCAL) "" $(000O0OO0OO) $(OOO0O0O0OO) 0OOOOOOO0O
- ifstr(i) $(0OOOOOOO0O) != $(0OO0O0O0OO)
- EnumRegKey $(0OOOOOOO0O) OOOO0OOO0O
- ifint $(RegLastError) == 0
- ForListDo $(OOOO0OOO0O)
- OpenRegKey $(0OOOOOOO0O) "" *($($),1) $(OOO0O0O0OO) 0OOO0OOO0O
- ifstr(i) $(0OOO0OOO0O) != $(0OO0O0O0OO)
- GetRegValue $(0OOO0OOO0O) "ServiceName" 00OOOOOO0O
- ifint $(RegLastError) == 0
- ifstr *($(00OOOOOO0O),4) == $(O000OOOO0O)
- GetRegValue $(0OOO0OOO0O) "Title" O0OO0OOO0O
- ifint $(RegLastError) == 0
- set 0000OOOO0O = *($(O0OO0OOO0O),4)
- endif
- endif
- endif
- CloseRegKey $(0OOO0OOO0O)
- endif
- EndForListDo
- endif
- CloseRegKey $(0OOOOOOO0O)
- endif
- set 00OO0OOO0O = $($R2)
- set 00O0O0O0OO = $($R3)
- set OO0O0OOO0O = $($R4)
- set 0O0O0OOO0O = $(0O0OOOOO0O)$(OO0O0OOO0O)
- set O00O0OOO0O = "["$(OO0O0OOO0O)"] "$(000O0OOO0O)"-->"$(0000OOOO0O)
- set 00000O00OO = {{Manufacturer,$(0O00O0O0OO),$(!REG_VT_SZ),$(000OOO0OOO)},+
- {Title,$(0O00O0O0OO),$(!REG_VT_SZ),$(O00O0OOO0O)},+
- {Description,$(0O00O0O0OO),$(!REG_VT_SZ),$(OOO00OOO0O)},+
- {ProductName,$(0O00O0O0OO),$(!REG_VT_SZ),$(OO00OOOO0O)},+
- {SoftwareName,$(0O00O0O0OO),$(!REG_VT_SZ),$(0O00OO0OOO)},+
- {ServiceName,$(0O00O0O0OO),$(!REG_VT_SZ),$($R5)},+
- {Hidden,$(0O00O0O0OO),$(!REG_VT_DWORD),1},+
- {InstallDate,$(0O00O0O0OO),$(!REG_VT_DWORD),*($(OOOO00O0OO),1)}}
- Shell $(00O00OO0OO), AddValueList, $($R1), $(00000O00OO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto O000OO00OO
- endif
- CloseRegKey $($R1)
- set 0OO00OOO0O = """"$(0O0OOOOO0O)$(OO0O0OOO0O)""""
- set O0O00OOO0O = $(0OO00OOO0O)$(00O0OOOO0O)
- set 00000O00OO = {{type,$(0O00O0O0OO),$(!REG_VT_SZ),$(0OO0OOOO0O)},+
- {bindform,$(0O00O0O0OO),$(!REG_VT_SZ),$(O0O00OOO0O)}, +
- {class,$(0O00O0O0OO),$(!REG_VT_MULTI_SZ),$(O0O0OOOO0O)}, +
- {InfOption,$(0O00O0O0OO),$(!REG_VT_SZ),$(OO0000O0OO)}}
- Shell $(00O00OO0OO), AddValueList, $(00OO0OOO0O), $(00000O00OO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto O000OO00OO
- endif
- set O0000OO0OO = $($R0)
- Ifstr(i) $(O0000OO0OO) != NO_ERROR
- EndWait
- CloseRegKey $(00O0O0O0OO)
- CloseRegKey $(00OO0OOO0O)
- set O00O0O00OO = "Failed to set net rules for "$(0OO00OOO0O)"."
- goto 0OO00O00OO
- endif
- CloseRegKey $(00OO0OOO0O)
- set OOOO0000OO = $(!NTN_ServiceBase)"\"$($)"\Parameters"
- OpenRegKey $(!REG_H_LOCAL) "" $(OOOO0000OO) $(OOO0O0O0OO) 00O00OOO0O
- ifstr(i) $(00O00OOO0O) != $(0OO0O0O0OO)
- set OO000OOO0O = {}
- EnumRegValue $(00O00OOO0O) OO000OOO0O
- ifstr $(OO000OOO0O) != {}
- ForListDo $(OO000OOO0O)
- ifcontains(i) *($($),1) in $(0OO00OO0OO)
- SetRegValue $(00O0O0O0OO) $($)
- endif
- EndForListDo
- endif
- EnumRegKey $(00O00OOO0O) 0O000OOO0O
- ifint $(RegLastError) == 0
- ForListDo $(0O000OOO0O)
- OpenRegKey $(00O00OOO0O) "" *($($),1) $(OOO0O0O0OO) O0000OOO0O
- ifstr(i) $(O0000OOO0O) != $(0OO0O0O0OO)
- CreateRegKey $(00O0O0O0OO) {*($($),1),$(0O00O0O0OO),GenericClass} "" $(OOO0O0O0OO) "" 00000OOO0O
- ifstr(i) $(00000OOO0O) != $(0OO0O0O0OO)
- Shell "", OOOOO0OO0O, $(O0000OOO0O), $(00000OOO0O)
- CloseRegKey $(00000OOO0O)
- endif
- CloseRegKey $(O0000OOO0O)
- endif
- EndForListDo
- endif
- CloseRegKey $(00O00OOO0O)
- endif
- endif
- set 00000O00OO = {{InstanceNumber,$(0O00O0O0OO),$(!REG_VT_DWORD),$(OO0O0OOO0O)},+
- {SystemAdapter,$(0O00O0O0OO),$(!REG_VT_SZ),"\Device\"$($)},+
- {SourceParameters,$(0O00O0O0OO),$(!REG_VT_SZ),$(OOOO0000OO)}}
- Shell $(00O00OO0OO), AddValueList, $(00O0O0O0OO), $(00000O00OO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- CloseRegKey $(00O0O0O0OO)
- goto O000OO00OO
- endif
- set O0000OO0OO = $($R0)
- Ifstr(i) $(O0000OO0OO) != NO_ERROR
- set O00O0O00OO = "Failed to set parameters for "$(0OO00OOO0O)"."
- CloseRegKey $(00O0O0O0OO)
- goto 0OO00O00OO
- endif
- ifstr(i) $(0O00OOOO0O) != $(0OO0O0O0OO)
- OpenRegKey $(!REG_H_LOCAL) "" $(OO0O0OO0OO)"\"$($) $(OOO0O0O0OO) 0OOOO0OO0O
- ifstr(i) $(0OOOO0OO0O) == $(0OO0O0O0OO)
- else
- CreateRegKey $(00O0O0O0OO) {"NetBT\"$($),$(0O00O0O0OO),GenericClass} "" $(OOO0O0O0OO) "" O0OOO0OO0O
- ifstr(i) $(O0OOO0OO0O) == $(0OO0O0O0OO)
- else
- Shell "", OOOOO0OO0O, $(0OOOO0OO0O), $(O0OOO0OO0O)
- CloseRegKey $(O0OOO0OO0O)
- endif
- CloseRegKey $(0OOOO0OO0O)
- endif
- endif
- CloseRegKey $(00O0O0O0OO)
- set 00OOO0OO0O = $(!NTN_ServiceBase)"\"$(0O0OOOOO0O)$(OO0O0OOO0O)"\Parameters\DNESignature"
- CreateRegKey $(!REG_H_LOCAL) {$(00OOO0OO0O),$(0O00O0O0OO),GenericClass} "" $(OOO0O0O0OO) "" OO0OO0OO0O
- ifstr(i) $(OO0OO0OO0O) == $(0OO0O0O0OO)
- endif
- set 00O00000OO = "Yes"
- ifstr(i) $(0O00OOOO0O) != $(0OO0O0O0OO)
- set 00000O00OO = {{Device,$(0O00O0O0OO),$(!REG_VT_SZ),$($)},+
- {AdapterNumber,$(0O00O0O0OO),$(!REG_VT_SZ),$(OO0O0OOO0O)}, +
- {InstanceNumber,$(0O00O0O0OO),$(!REG_VT_DWORD), $(OO0O0OOO0O) } }
- Shell $(00O00OO0OO), AddValueList, $(0O00OOOO0O), $(00000O00OO)
- CloseRegKey $(0O00OOOO0O)
- endif
- 0O000000OO = +
- EndForListDo
- set 0O0OO0OO0O = {}
- set O00OO0OO0O = {}
- OpenRegKey $(!REG_H_LOCAL) "" $(000O0OO0OO) $(OOO0O0O0OO) 0OOOOOOO0O
- ifstr(i) $(0OOOOOOO0O) != $(0OO0O0O0OO)
- EnumRegKey $(0OOOOOOO0O) OOOO0OOO0O
- ifint $(RegLastError) == 0
- ForListDo $(OOOO0OOO0O)
- OpenRegKey $(0OOOOOOO0O) "" *($($),1) $(OOO0O0O0OO) 0OOO0OOO0O
- ifstr(i) $(0OOO0OOO0O) != $(0OO0O0O0OO)
- GetRegValue $(0OOO0OOO0O) "ServiceName" 00OOOOOO0O
- ifint $(RegLastError) == 0
- set OOOO0000OO = $(!NTN_ServiceBase)"\"*($(00OOOOOO0O),4)"\Parameters"
- OpenRegKey $(!REG_H_LOCAL) "" $(OOOO0000OO) $(OOO0O0O0OO) 000OO0OO0O
- ifstr(i) $(000OO0OO0O) == $(0OO0O0O0OO)
- GetRegValue $(0OOO0OOO0O) "SoftwareName" OOO0O0OO0O
- ifint $(RegLastError) == 0
- ifstr *($(OOO0O0OO0O),4) == $(0O00OO0OOO)
- set 0O0OO0OO0O = >($(0O0OO0OO0O),*($($),1))
- set O00OO0OO0O = >($(O00OO0OO0O),*($(OOO0O0OO0O),4))
- endif
- endif
- else
- GetRegValue $(000OO0OO0O) "SystemAdapter" 0OO0O0OO0O
- ifint $(RegLastError) == 0
- Split-String *($(0OO0O0OO0O),4), "\", OO0O0000OO
- QueryListSize 0O0O0000OO $(OO0O0000OO)
- set O00O0000OO = *($(OO0O0000OO),$(0O0O0000OO))
- OpenRegKey $(!REG_H_LOCAL) "" $(!NTN_ServiceBase)"\"$(O00O0000OO) $(OOO0O0O0OO) O0O0O0OO0O
- ifstr(i) $(O0O0O0OO0O) != $(0OO0O0O0OO)
- CloseRegKey $(O0O0O0OO0O)
- else
- set 0O0OO0OO0O = >($(0O0OO0OO0O),*($($),1))
- GetRegValue $(0OOO0OOO0O) "SoftwareName" OOO0O0OO0O
- ifint $(RegLastError) == 0
- set O00OO0OO0O = >($(O00OO0OO0O),*($(OOO0O0OO0O),4))
- else
- set O00OO0OO0O = >($(O00OO0OO0O),$(0O00OO0OOO))
- endif
- endif
- endif
- CloseRegKey $(000OO0OO0O)
- endif
- endif
- CloseRegKey $(0OOO0OOO0O)
- endif
- EndForListDo
- endif
- CloseRegKey $(0OOOOOOO0O)
- endif
- ForListDo $(0O0OO0OO0O)
- set 00O0O0OO0O = $(000O0OO0OO)"\"$($)
- set OO00O0OO0O = *($(O00OO0OO0O),$(#))
- Shell $(00O00OO0OO), RemoveHardwareComponent, $(000OOO0OOO), $(OO00O0OO0O), $(00O0O0OO0O)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto O000OO00OO
- endif
- set O0000OO0OO = $($R0)
- ifstr(i) $(O0000OO0OO) != NO_ERROR
- set O00O0O00OO = "Failed to remove unused hardware component "$(00O0O0OO0O)"."
- goto 0OO00O00OO
- endif
- set 00O00000OO = "Yes"
- EndForListDo
- set OOOO0000OO = $(!NTN_SoftwareBase)"\"$(000OOO0OOO)"\"$(OO00OO0OOO)"\CurrentVersion\NetRules"
- OpenRegKey $(!REG_H_LOCAL) "" $(OOOO0000OO) $(OOO0O0O0OO) 0O00O0OO0O
- ifstr(i) $(0O00O0OO0O) != $(0OO0O0O0OO)
- GetRegValue $(0O00O0OO0O) "bindable" O000O0OO0O
- ifint $(RegLastError) == 0
- Shell "" OO0OO000OO
- ifstr $($R0) != *($(O000O0OO0O),4)
- SetRegValue $(0O00O0OO0O) {"bindable",$(0O00O0O0OO),$(!REG_VT_MULTI_SZ),$($R0)}
- ifint $(RegLastError) != 0
- else
- set 00O00000OO = "Yes"
- endif
- endif
- endif
- CloseRegKey $(0O00O0OO0O)
- else
- endif
- Shell "" 0000O0OO0O
- Shell "" OOOO00OO0O
- set 0OOO00OO0O = $($R0)
- set O0OO00OO0O = $($R1)
- Shell "" 0O00O000OO
- ForListDo $($R0)
- set OOOO0000OO = $(!NTN_ServiceBase)"\"$($)"\Linkage"
- OpenRegKey $(!REG_H_LOCAL) "" $(OOOO0000OO) $(OOO0O0O0OO) 00OO00OO0O
- ifstr(i) $(00OO00OO0O) != $(0OO0O0O0OO)
- Shell "" OO0O00OO0O $($),$(00OO00OO0O),$(0OOO00OO0O),$(O0OO00OO0O),$(O00OO0O0OO)
- CloseRegKey $(00OO00OO0O)
- else
- endif
- EndForListDo
- ifstr(i) $(00O00000OO) == "Yes"
- OpenRegKey $(!REG_H_LOCAL) "" $(0O0O0OO0OO) $(OOO0O0O0OO) 0O0O00OO0O
- ifstr(i) $(0O0O00OO0O) != $(0OO0O0O0OO)
- SetRegValue $(0O0O00OO0O) {"BindRestart",$(0O00O0O0OO),$(!REG_VT_DWORD),1}
- CloseRegKey $(0O0O00OO0O)
- else
- endif
- endif
- goto 000O0O00OO
- O00OOO00OO = +
- ifstr(i) $(!NTN_RegBase) != $(OOO0OOO0OO)
- set O00O0O00OO = "To uninstall this adapter, remove '"$(0OOOO000OO)"' from Services"
- set 00000OO0OO = 0000OO00OO
- goto O00O00OO0O
- endif
- Shell "" 000O00OO0O
- Shell "" OOO000OO0O
- Shell "" 0OO000OO0O
- goto 0000OO00OO
- 000OOO00OO = +
- goto 000O0O00OO
- O000OO00OO = +
- ifstr(i) $(!NTN_Origination) == "NCPA"
- Shell $(OO000OO0OO) SetupMessage, $(!STF_LANGUAGE), FATAL, "Fatal shell error: "$($ShellCode)
- endif
- goto O0O000OO0O
- 00O0OO00OO = +
- ifstr(i) $(!NTN_Origination) == "NCPA"
- Shell $(OO000OO0OO) SetupMessage, $(!STF_LANGUAGE), "FATAL", $(O00O0O00OO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto O000OO00OO
- endif
- endif
- set 00O000OO0O = {"O0O0OO00OO"}
- ifcontains(i) $(0O0OOO00OO) in $(00O000OO0O)
- Shell "" 0OO000OO0O
- endif
- goto O0O000OO0O
- 0OO00O00OO = +
- ifstr(i) $(!NTN_Origination) == "NCPA"
- Shell $(00O00OO0OO) RegistryErrorString $(O0000OO0OO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto O000OO00OO
- endif
- set OO0000OO0O = $(O00O0O00OO)
- set O00O0O00OO = $($R0)
- Shell $(OO000OO0OO) SetupMessage, $(!STF_LANGUAGE), "FATAL", $(OO0000OO0O)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto O000OO00OO
- endif
- endif
- goto 00O0OO00OO
- O00O00OO0O = +
- set OO0OOO00OO = STATUS_USERCANCEL
- set 0O0000OO0O = STATUS
- goto O00000OO0O
- 000000OO0O = +
- set 0O0000OO0O = NONFATAL
- goto O00000OO0O
- O00000OO0O = +
- ifstr(i) $(!NTN_Origination) == "NCPA"
- ifstr(i) $(O00O0O00OO) == ""
- Shell $(00O00OO0OO) RegistryErrorString "SETUP_FAIL"
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto O000OO00OO
- endif
- set O00O0O00OO = $($R0)
- endif
- Shell $(OO000OO0OO) SetupMessage, $(!STF_LANGUAGE), $(0O0000OO0O), $(O00O0O00OO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto O000OO00OO
- endif
- ifstr(i) $($R1) == "OK"
- goto $(00000OO0OO)
- else
- goto 0000OO00OO
- endif
- else
- goto $(00000OO0OO)
- endif
- O0O000OO0O = +
- set OO0OOO00OO = STATUS_FAILED
- goto 0000OO00OO
- 000O0O00OO = +
- goto 0000OO00OO
- 0000OO00OO = +
- goto OOOOOO0O0O
- OOOOOO0O0O = +
- return $(OO0OOO00OO)
- [BindingsReview]
- set !G:DebugOutputControl = 1
- read-syms O00OOO0OOO
- read-syms O0O00OO0OO
- OpenRegKey $(!REG_H_LOCAL) "" $(00OO0OO0OO) $(OOO0O0O0OO) 00OO00OO0O
- ifstr $(00OO00OO0O) == $(0OO0O0O0OO)
- else
- GetRegValue $(00OO00OO0O) "Bind" 0OOOOO0O0O
- ifint $(RegLastError) != 0
- else
- set O0OO0000OO = *($(0OOOOO0O0O),4)
- ForListDo $(O0OO0000OO)
- Split-String $($) "\" O0OOOO0O0O
- set 00OOOO0O0O = $(!NTN_ServiceBase)"\"*($(O0OOOO0O0O),4)"\Parameters"
- OpenRegKey $(!REG_H_LOCAL) "" $(00OOOO0O0O) $(OOO0O0O0OO) OO0OOO0O0O
- ifstr $(OO0OOO0O0O) == $(0OO0O0O0OO)
- else
- GetRegValue $(OO0OOO0O0O) "SourceParameters" 0O0OOO0O0O
- ifint $(RegLastError) == 0
- set O00OOO0O0O = *($(0O0OOO0O0O),4)
- OpenRegKey $(!REG_H_LOCAL) "" $(O00OOO0O0O) $(OOO0O0O0OO) 000OOO0O0O
- ifstr $(000OOO0O0O) == $(0OO0O0O0OO)
- else
- set OO000OOO0O = {}
- EnumRegValue $(000OOO0O0O) OO000OOO0O
- ifstr $(OO000OOO0O) != {}
- ForListDo $(OO000OOO0O)
- ifcontains(i) *($($),1) in $(0OO00OO0OO)
- SetRegValue $(OO0OOO0O0O) $($)
- endif
- EndForListDo
- endif
- EnumRegKey $(000OOO0O0O) 0O000OOO0O
- ifint $(RegLastError) == 0
- ForListDo $(0O000OOO0O)
- OpenRegKey $(000OOO0O0O) "" *($($),1) $(OOO0O0O0OO) O0000OOO0O
- ifstr(i) $(O0000OOO0O) != $(0OO0O0O0OO)
- OpenRegKey $(OO0OOO0O0O) "" *($($),1) $(OOO0O0O0OO) 00000OOO0O
- ifstr(i) $(00000OOO0O) != $(0OO0O0O0OO)
- Shell "", OOOOO0OO0O, $(O0000OOO0O), $(00000OOO0O)
- CloseRegKey $(00000OOO0O)
- endif
- CloseRegKey $(O0000OOO0O)
- endif
- EndForListDo
- endif
- CloseRegKey $(000OOO0O0O)
- DeleteRegValue $(OO0OOO0O0O) "SourceParameters"
- endif
- endif
- CloseRegKey $(OO0OOO0O0O)
- endif
- EndForListDo
- endif
- CloseRegKey $(00OO00OO0O)
- endif
- Shell "" OOO0OO0O0O
- Shell "" 0OO0OO0O0O
- return STATUS_SUCCESSFUL
- [OOOO00OO0O]
- read-syms O0O00OO0OO
- read-syms O00OOO0OOO
- set 0OOO00OO0O = {}
- set O0OO00OO0O = {}
- OpenRegKey $(!REG_H_LOCAL) "" $(000O0OO0OO) $(OOO0O0O0OO) 0OOOOOOO0O
- ifstr(i) $(0OOOOOOO0O) != $(0OO0O0O0OO)
- EnumRegKey $(0OOOOOOO0O) OOOO0OOO0O
- ifint $(RegLastError) == 0
- ForListDo $(OOOO0OOO0O)
- OpenRegKey $(0OOOOOOO0O) "" *($($),1) $(OOO0O0O0OO) 0OOO0OOO0O
- ifstr(i) $(0OOO0OOO0O) != $(0OO0O0O0OO)
- GetRegValue $(0OOO0OOO0O) "ServiceName" 00OOOOOO0O
- ifint $(RegLastError) == 0
- set OOOO0000OO = $(!NTN_ServiceBase)"\"*($(00OOOOOO0O),4)"\Parameters\DNESignature"
- OpenRegKey $(!REG_H_LOCAL) "" $(OOOO0000OO) $(OOO0O0O0OO) O0O0OO0O0O
- ifstr(i) $(O0O0OO0O0O) != $(0OO0O0O0OO)
- set 0OOO00OO0O = >($(0OOO00OO0O),*($(00OOOOOO0O),4))
- CloseRegKey $(O0O0OO0O0O)
- else
- set O0OO00OO0O = >($(O0OO00OO0O),*($(00OOOOOO0O),4))
- endif
- endif
- CloseRegKey $(0OOO0OOO0O)
- endif
- EndForListDo
- endif
- CloseRegKey $(0OOOOOOO0O)
- endif
- return $(0OOO00OO0O) $(O0OO00OO0O)
- [OOO000OO0O]
- read-syms O0O00OO0OO
- read-syms O00OOO0OOO
- Shell "" OOOO00OO0O
- ForListDo $($R0)
- set 00O0OO0O0O = $(!NTN_ServiceBase)"\"$($)"\Parameters"
- OpenRegKey $(!REG_H_LOCAL) "" $(00O0OO0O0O) $(OOO0O0O0OO) OO00OO0O0O
- ifstr $(OO00OO0O0O) != $(0OO0O0O0OO)
- GetRegValue $(OO00OO0O0O) "SystemAdapter" 0O00OO0O0O
- ifint $(RegLastError) == 0
- set O000OO0O0O = *($(0O00OO0O0O),4)
- Split-String $(O000OO0O0O) "\_" 0000OO0O0O
- QueryListSize OOOO0O0O0O $(0000OO0O0O)
- set 0OOO0O0O0O = $(!NTN_ServiceBase)"\"*($(0000OO0O0O),$(OOOO0O0O0O))"\Parameters"
- OpenRegKey $(!REG_H_LOCAL) "" $(0OOO0O0O0O) $(OOO0O0O0OO) O0OO0O0O0O
- ifstr $(O0OO0O0O0O) != $(0OO0O0O0OO)
- Shell "", OOOOO0OO0O, $(OO00OO0O0O), $(O0OO0O0O0O)
- DeleteRegKey $(O0OO0O0O0O) $(OO00OO0OOO)
- DeleteRegKey $(O0OO0O0O0O) "DNESignature"
- CloseRegKey $(O0OO0O0O0O)
- endif
- endif
- CloseRegKey $(OO00OO0O0O)
- endif
- EndForListDo
- return
- [000O00OO0O]
- read-syms O0O00OO0OO
- read-syms O00OOO0OOO
- OpenRegKey $(!REG_H_LOCAL) "" $(00OO0OO0OO) $(OOO0O0O0OO) 00OO00OO0O
- ifstr(i) $(00OO00OO0O) == $(0OO0O0O0OO)
- else
- GetRegValue $(00OO00OO0O) "Bind" O0OO0000OO
- ifint $(RegLastError) != 0
- else
- set 00OO0O0O0O = *($(O0OO0000OO),4)
- ForListDo $(00OO0O0O0O)
- Split-String $($), "\", OO0O0000OO
- QueryListSize OO0O0O0O0O $(OO0O0000OO)
- set 0O0O0O0O0O = *($(OO0O0000OO),$(OO0O0O0O0O))
- set OOOO0000OO = $(!NTN_ServiceBase)"\"$(0O0O0O0O0O)"\Parameters\"$(OO00OO0OOO)
- OpenRegKey $(!REG_H_LOCAL) "" $(OOOO0000OO) $(OOO0O0O0OO) O00O0O0O0O
- ifstr(i) $(O00O0O0O0O) == $(0OO0O0O0OO)
- else
- GetRegValue $(O00O0O0O0O) "Device" 000O0O0O0O
- ifint $(RegLastError) != 0
- else
- set OOOO0000OO = $(OO0O0OO0OO)"\"*($(000O0O0O0O),4)
- CreateRegKey $(!REG_H_LOCAL) {$(OOOO0000OO),$(0O00O0O0OO),GenericClass} "" $(OOO0O0O0OO) "" O0OOO0OO0O
- ifstr(i) $(O0OOO0OO0O) == $(0OO0O0O0OO)
- else
- set OOOO0000OO = $(OO0O0OO0OO)"\"$(0O0O0O0O0O)
- OpenRegKey $(!REG_H_LOCAL) "" $(OOOO0000OO) $(OOO0O0O0OO) OOO00O0O0O
- ifstr(i) $(O0OOO0OO0O) == $(0OO0O0O0OO)
- else
- Shell "", OOOOO0OO0O, $(OOO00O0O0O), $(O0OOO0OO0O)
- ifstr(i) $($R0) != STATUS_SUCCESSFUL
- endif
- CloseRegKey $(OOO00O0O0O)
- endif
- CloseRegKey $(O0OOO0OO0O)
- endif
- endif
- CloseRegKey $(O00O0O0O0O)
- endif
- EndForListDo
- endif
- CloseRegKey $(00OO00OO0O)
- endif
- return
- [OOO0OO0O0O]
- read-syms O0O00OO0OO
- read-syms O00OOO0OOO
- set 00OO0O0O0O = {}
- OpenRegKey $(!REG_H_LOCAL) "" $(00OO0OO0OO) $(OOO0O0O0OO) 00OO00OO0O
- ifstr(i) $(00OO00OO0O) != $(0OO0O0O0OO)
- GetRegValue $(00OO00OO0O) "Bind" O0OO0000OO
- ifint $(RegLastError) == 0
- set 00OO0O0O0O = *($(O0OO0000OO),4)
- endif
- endif
- ifstr $(00OO0O0O0O) != {}
- ForListDo $(00OO0O0O0O)
- Split-String $($), "\", OO0O0000OO
- QueryListSize OO0O0O0O0O $(OO0O0000OO)
- set 0O0O0O0O0O = *($(OO0O0000OO),$(OO0O0O0O0O))
- OpenRegKey $(!REG_H_LOCAL) "" $(!NTN_ServiceBase)"\"$(0O0O0O0O0O)"\Parameters\NetBT" $(OOO0O0O0OO) 0OOOO0OO0O
- ifstr(i) $(0OOOO0OO0O) == $(0OO0O0O0OO)
- else
- EnumRegKey $(0OOOO0OO0O) 0OO00O0O0O
- ifint $(RegLastError) != 0
- else
- ForListDo $(0OO00O0O0O)
- set O0O00O0O0O = *($($),1)
- OpenRegKey $(0OOOO0OO0O) "" $(O0O00O0O0O) $(OOO0O0O0OO) OOO00O0O0O
- ifstr(i) $(OOO00O0O0O) == $(0OO0O0O0OO)
- else
- set OOOO0000OO = $(OO0O0OO0OO)"\"$(0O0O0O0O0O)
- OpenRegKey $(!REG_H_LOCAL) "" $(OOOO0000OO) $(OOO0O0O0OO) O0OOO0OO0O
- ifstr(i) $(O0OOO0OO0O) == $(0OO0O0O0OO)
- else
- Shell "", OOOOO0OO0O, $(OOO00O0O0O), $(O0OOO0OO0O)
- ifstr(i) $($R0) != STATUS_SUCCESSFUL
- else
- DeleteRegTree $(0OOOO0OO0O) $(O0O00O0O0O)
- endif
- CloseRegKey $(O0OOO0OO0O)
- endif
- CloseRegKey $(OOO00O0O0O)
- endif
- EndForListDo
- endif
- CloseRegKey $(0OOOO0OO0O)
- endif
- EndForListDo
- endif
- ifstr(i) $(00OO00OO0O) != $(0OO0O0O0OO)
- CloseRegKey $(00OO00OO0O)
- endif
- return
- [OOOOO0OO0O]
- set 00O00O0O0O = $($0)
- set OO000O0O0O = $($1)
- Set FLibraryErrCtl = 1
- LibraryProcedure __CopyResult $(!NCPA_HANDLE), RegCopyTree, $(00O00O0O0O), $(OO000O0O0O)
- Set FLibraryErrCtl = 0
- Set 0O000O0O0O = *($(O0000O0O0O),1)
- Ifint $(0O000O0O0O) != 0
- return UNABLE_ACCESS_CONFIGURE_SERVICE
- Endif
- return STATUS_SUCCESSFUL
- [0OO000OO0O]
- read-syms O0O00OO0OO
- read-syms O00OOO0OOO
- read-syms 0OOOOO00OO$(!STF_LANGUAGE)
- Shell "" 00000O0O0O
- OpenRegKey $(!REG_H_LOCAL) "" $(000O0OO0OO) $(OOO0O0O0OO) 0OOOOOOO0O
- ifstr(i) $(0OOOOOOO0O) != $(0OO0O0O0OO)
- EnumRegKey $(0OOOOOOO0O) OOOO0OOO0O
- ifint $(RegLastError) == 0
- ForListDo $(OOOO0OOO0O)
- OpenRegKey $(0OOOOOOO0O) "" *($($),1) $(OOO0O0O0OO) 0OOO0OOO0O
- ifstr(i) $(0OOO0OOO0O) != $(0OO0O0O0OO)
- GetRegValue $(0OOO0OOO0O) "ServiceName" 00OOOOOO0O
- ifint $(RegLastError) == 0
- set OO00O0OO0O = $(0OO0O0O0OO)
- set OOOO0000OO = $(!NTN_ServiceBase)"\"*($(00OOOOOO0O),4)"\Parameters\DNESignature"
- OpenRegKey $(!REG_H_LOCAL) "" $(OOOO0000OO) $(OOO0O0O0OO) O0O0O0OO0O
- ifstr(i) $(O0O0O0OO0O) != $(0OO0O0O0OO)
- CloseRegKey $(O0O0O0OO0O)
- GetRegValue $(0OOO0OOO0O) "SoftwareName" OOO0O0OO0O
- ifint $(RegLastError) == 0
- set OO00O0OO0O = *($(OOO0O0OO0O),4)
- else
- set OO00O0OO0O = $(0O00OO0OOO)
- endif
- else
- GetRegValue $(0OOO0OOO0O) "SoftwareName" OOO0O0OO0O
- ifint $(RegLastError) == 0
- ifstr *($(OOO0O0OO0O),4) == $(0O00OO0OOO)
- set OO00O0OO0O = *($(OOO0O0OO0O),4)
- endif
- endif
- endif
- ifstr $(OO00O0OO0O) != $(0OO0O0O0OO)
- set 00O0O0OO0O = $(000O0OO0OO)"\"*($($),1)
- Shell $(00O00OO0OO), RemoveHardwareComponent, $(000OOO0OOO), $(OO00O0OO0O), $(00O0O0OO0O)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- endif
- endif
- endif
- CloseRegKey $(0OOO0OOO0O)
- endif
- EndForListDo
- endif
- CloseRegKey $(0OOOOOOO0O)
- endif
- OpenRegKey $(!REG_H_LOCAL) "" $(!NTN_ServiceBase) $(OOO0O0O0OO) O0O0O0OO0O
- ifstr(i) $(O0O0O0OO0O) != $(0OO0O0O0OO)
- EnumRegKey $(O0O0O0OO0O) OOOOO00O0O
- ifint $(RegLastError) == 0
- ForListDo $(OOOOO00O0O)
- set OOOO0000OO = $(!NTN_ServiceBase)"\"*($($),1)"\Parameters"
- OpenRegKey $(!REG_H_LOCAL) "" $(OOOO0000OO)"\"$(OO00OO0OOO) $(OOO0O0O0OO) 0OOOO00O0O
- ifstr(i) $(0OOOO00O0O) != $(0OO0O0O0OO)
- CloseRegKey $(0OOOO00O0O)
- OpenRegKey $(!REG_H_LOCAL) "" $(OOOO0000OO) $(OOO0O0O0OO) O0OOO00O0O
- ifstr(i) $(O0OOO00O0O) != $(0OO0O0O0OO)
- DeleteRegTree $(O0OOO00O0O) $(OO00OO0OOO)
- CloseRegKey $(O0OOO00O0O)
- endif
- endif
- EndForListDo
- endif
- endif
- OpenRegKey $(!REG_H_LOCAL) "" $(OOO0OOO0OO)"\NetRules" $(OOO0O0O0OO) O00OOOOO0O
- ifstr(i) $(O00OOOOO0O) != $(0OO0O0O0OO)
- GetRegValue $(O00OOOOO0O) "InfName" 00OOO00O0O
- ifint $(RegLastError) == 0
- AddFileToDeleteList $(!STF_WINDOWSSYSPATH)"\"*($(00OOO00O0O),4)
- endif
- CloseRegKey $(O00OOOOO0O)
- endif
- OpenRegKey $(!REG_H_LOCAL) "" $(OOOO0OO0OO) $(OOO0O0O0OO) OO0OO00O0O
- ifstr(i) $(OO0OO00O0O) != $(0OO0O0O0OO)
- SetRegValue $(OO0OO00O0O) {RefCount,$(0O00O0O0OO),$(!REG_VT_DWORD),0}
- CloseRegKey $(OO0OO00O0O)
- endif
- Shell $(00O00OO0OO), RemoveSoftwareComponent, $(000OOO0OOO), $(0O00OO0OOO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- endif
- set O0000OO0OO = $($R0)
- ifstr(i) $(O0000OO0OO) != NO_ERROR
- endif
- Shell $(00O00OO0OO), RemoveSoftwareComponent, $(000OOO0OOO), $(OO00OO0OOO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- endif
- set O0000OO0OO = $($R0)
- ifstr(i) $(O0000OO0OO) != NO_ERROR
- endif
- Shell $(00O00OO0OO), RemoveSoftwareComponent, $(000OOO0OOO), $(00O0OO0OOO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- endif
- set O0000OO0OO = $($R0)
- ifstr(i) $(O0000OO0OO) != NO_ERROR
- endif
- Set OOOO0000OO = $(!NTN_SoftwareBase)"\"$(000OOO0OOO)
- OpenRegKey $(!REG_H_LOCAL) "" $(OOOO0000OO) $(OOO0O0O0OO) 0O0OO00O0O
- ifstr(i) $(0O0OO00O0O) != $(0OO0O0O0OO)
- EnumRegKey $(0O0OO00O0O) O00OO00O0O
- ifint $(RegLastError) == 0
- ifstr $(O00OO00O0O) == {}
- set 000OO00O0O = {}
- EnumRegValue $(0O0OO00O0O) 000OO00O0O
- ifstr $(000OO00O0O) == {}
- DeleteRegTree $(!REG_H_LOCAL) $(OOOO0000OO)
- endif
- endif
- endif
- CloseRegKey $(0O0OO00O0O)
- endif
- return
- [OOO0O000OO]
- read-syms O00OOO0OOO
- read-syms O0O00OO0OO
- set O0OO00O0OO = STATUS_FAILED
- OpenRegKey $(!REG_H_LOCAL) "" $(OOO0OOO0OO)"\NetRules" $(OOO0O0O0OO) O00OOOOO0O
- ifstr(i) $(O00OOOOO0O) != $(0OO0O0O0OO)
- GetRegValue $(O00OOOOO0O) "InfName" 00OOO00O0O
- ifint $(RegLastError) == 0
- CloseRegKey $(O00OOOOO0O)
- set OOO0O00O0O = {}
- OpenRegKey $(!REG_H_LOCAL) "" $(0O0O0OO0OO) $(OOO0O0O0OO) 0OO0O00O0O
- ifstr(i) $(0OO0O00O0O) != $(0OO0O0O0OO)
- GetRegValue $(0OO0O00O0O) "ReviewPrograms" 00O0O000OO
- ifint $(RegLastError) == 0
- ForListDo *($(00O0O000OO),4)
- ifstr(i) $($) != *($(00OOO00O0O),4)
- ifstr(i) $($) == "NBINFO.INF"
- set OOO0O00O0O = >($(OOO0O00O0O),*($(00OOO00O0O),4))
- endif
- set OOO0O00O0O = >($(OOO0O00O0O), $($))
- endif
- EndForListDo
- SetRegValue $(0OO0O00O0O) {ReviewPrograms,$(0O00O0O0OO),$(!REG_VT_MULTI_SZ),$(OOO0O00O0O)}
- set O0OO00O0OO = STATUS_SUCCESSFUL
- endif
- CloseRegKey $(0OO0O00O0O)
- else
- endif
- else
- CloseRegKey $(O00OOOOO0O)
- endif
- else
- endif
- return $(O0OO00O0OO)
- [00000O0O0O]
- read-syms O00OOO0OOO
- read-syms O0O00OO0OO
- set O0OO00O0OO = STATUS_FAILED
- OpenRegKey $(!REG_H_LOCAL) "" $(OOO0OOO0OO)"\NetRules" $(OOO0O0O0OO) O00OOOOO0O
- ifstr(i) $(O00OOOOO0O) != $(0OO0O0O0OO)
- GetRegValue $(O00OOOOO0O) "InfName" 00OOO00O0O
- ifint $(RegLastError) == 0
- CloseRegKey $(O00OOOOO0O)
- set OOO0O00O0O = {}
- OpenRegKey $(!REG_H_LOCAL) "" $(0O0O0OO0OO) $(OOO0O0O0OO) 0OO0O00O0O
- Ifstr(i) $(0OO0O00O0O) != $(0OO0O0O0OO)
- GetRegValue $(0OO0O00O0O) "ReviewPrograms" 00O0O000OO
- ifint $(RegLastError) == 0
- ForListDo *($(00O0O000OO),4)
- ifstr(i) $($) != *($(00OOO00O0O),4)
- set OOO0O00O0O = >($(OOO0O00O0O), $($))
- endif
- EndForListDo
- SetRegValue $(0OO0O00O0O) {ReviewPrograms,$(0O00O0O0OO),$(!REG_VT_MULTI_SZ),$(OOO0O00O0O)}
- set O0OO00O0OO = STATUS_SUCCESSFUL
- endif
- CloseRegKey $(0OO0O00O0O)
- else
- endif
- else
- CloseRegKey $(O00OOOOO0O)
- endif
- else
- endif
- return $(O0OO00O0OO)
- [OO0OO000OO]
- read-syms O00OOO0OOO
- read-syms O0O00OO0OO
- Shell "" 0O00O000OO
- set O000O000OO = $($R0)
- set O0O0O00O0O = {}
- OpenRegKey $(!REG_H_LOCAL) "" $(!NTN_SoftwareBase) $(OOO0O0O0OO) 00O0O00O0O
- ifstr(i) $(00O0O00O0O) != $(0OO0O0O0OO)
- set OO00O00O0O = {}
- EnumRegKey $(00O0O00O0O) OO00O00O0O
- ForListDo $(OO00O00O0O)
- set 0O00O00O0O = *($($),1)
- ForListDo $(O000O000OO)
- set O000O00O0O = $(0OO0O0O0OO)
- OpenRegKey $(00O0O00O0O) "" $(0O00O00O0O)"\"$($) $(OOO0O0O0OO) O000O00O0O
- ifstr(i) $(O000O00O0O) != $(0OO0O0O0OO)
- set 0000O00O0O = {}
- ifstr(i) $($) == $(00O0OO0OOO)
- goto OOOO000O0O
- endif
- ifstr(i) $($) == $(OO00OO0OOO)
- goto OOOO000O0O
- endif
- ifstr(i) $($) == $(0O00OO0OOO)
- goto OOOO000O0O
- endif
- OpenRegKey $(O000O00O0O) "" "CurrentVersion\NetRules" $(OOO0O0O0OO) O00OOOOO0O
- ifstr(i) $(O00OOOOO0O) != $(0OO0O0O0OO)
- GetRegValue $(O00OOOOO0O) "Class" 0OOO000O0O
- ifint $(RegLastError) == 0
- ForListDo *($(0OOO000O0O),4)
- Split-String $($), " ", O0OO000O0O
- set 00OO000O0O = 0
- ForListDo $(O0OO000O0O)
- ifstr $($) != " "
- set-add 00OO000O0O = $(00OO000O0O),1
- ifint $(00OO000O0O) == 1
- set OO0O000O0O = $($)
- else-ifint $(00OO000O0O) == 2
- ifstr(i) $($) == netBiosTransport
- set 0O0O000O0O = $(OO0O000O0O)" "$(O0OOO00OOO)" non non 100"
- set O0O0O00O0O = >($(O0O0O00O0O), $(0O0O000O0O))
- endif
- endif
- endif
- EndForListDo
- EndForListDo
- endif
- GetRegValue $(O00OOOOO0O) "Bindable" O00O000O0O
- ifint $(RegLastError) == 0
- ForListDo *($(O00O000O0O),4)
- Split-String $($), " ", 000O000O0O
- set 0O0O000O0O = $(0OO0O0O0OO)
- set OOO0000O0O = 000OO0O0OO
- set 0OO0000O0O = 000OO0O0OO
- set 00OO000O0O = 0
- ForListDo $(000O000O0O)
- ifstr $($) == " "
- set 0O0O000O0O = $(0O0O000O0O)$($)
- else
- set-add 00OO000O0O = $(00OO000O0O),1
- ifint $(00OO000O0O) == 1
- ifstr(i) $($) == ndisWanTransport
- set 0OO0000O0O = O00OO0O0OO
- endif
- set 0O0O000O0O = $(0O0O000O0O)$($)
- else-ifint $(00OO000O0O) == 2
- ifstr(i) $($) == $(OO000O0OOO)
- set O0O0000O0O = $(O0OOO00OOO)
- set OOO0000O0O = O00OO0O0OO
- else-ifstr(i) $($) == $(0O000O0OOO)
- ifcontains(i) "NetBEUI" in $(O000O000OO)
- set O0O0000O0O = $(00OOO00OOO)
- set OOO0000O0O = O00OO0O0OO
- endif
- else-ifstr(i) $($) == $(O0000O0OOO)
- ifcontains(i) "NetBEUI" in $(O000O000OO)
- set O0O0000O0O = $(OO0OO00OOO)
- set OOO0000O0O = O00OO0O0OO
- endif
- else-ifstr(i) $($) == $(00000O0OOO)
- ifcontains(i) "Tcpip" in $(O000O000OO)
- set O0O0000O0O = $(0O0OO00OOO)
- set OOO0000O0O = O00OO0O0OO
- endif
- else-ifstr(i) $($) == $(OOOOO00OOO)
- ifcontains(i) "Tcpip" in $(O000O000OO)
- set O0O0000O0O = $(O00OO00OOO)
- set OOO0000O0O = O00OO0O0OO
- endif
- else-ifstr(i) $($) == $(0OOOO00OOO)
- ifcontains(i) "NwlnkIpx" in $(O000O000OO)
- set O0O0000O0O = $(000OO00OOO)
- set OOO0000O0O = O00OO0O0OO
- endif
- endif
- set 0O0O000O0O = $(0O0O000O0O)$(O0O0000O0O)
- else
- set 0O0O000O0O = $(0O0O000O0O)$($)
- endif
- endif
- EndForListDo
- ifstr $(OOO0000O0O) == O00OO0O0OO
- ifstr $(0OO0000O0O) == 000OO0O0OO
- set O0O0O00O0O = >($(O0O0O00O0O), $(0O0O000O0O))
- endif
- endif
- EndForListDo
- endif
- CloseRegKey $(O00OOOOO0O)
- endif
- CloseRegKey $(O000O00O0O)
- endif
- OOOO000O0O = +
- EndForListDo
- EndForListDo
- CloseRegKey $(00O0O00O0O)
- endif
- return $(O0O0O00O0O)
- [OOOO0O00OO]
- read-syms O0O00OO0OO
- read-syms O00OOO0OOO
- OpenRegKey $(!REG_H_LOCAL) "" $(O00O0OO0OO) $(OOO0O0O0OO) 00O0000O0O
- ifint $(RegLastError) != 0
- return STATUS_FAILED
- endif
- GetRegValue $(00O0000O0O) CurrentVersion OO00000O0O
- ifint $(RegLastError) != 0
- CloseRegKey $(00O0000O0O)
- return STATUS_FAILED
- endif
- GetRegValue $(00O0000O0O) CSDVersion 0O00000O0O
- ifint $(RegLastError) != 0
- CloseRegKey $(00O0000O0O)
- return STATUS_FAILED
- endif
- CloseRegKey $(00O0000O0O)
- Split-String *($(0O00000O0O),4) " ," O000000O0O
- return STATUS_SUCCESS *($(OO00000O0O),4) *($(O000000O0O),5)
- [0000000O0O]
- read-syms O0O00OO0OO
- read-syms O00OOO0OOO
- OpenRegKey $(!REG_H_LOCAL) "" $($0) $(OOO0O0O0OO) OOOOOOO00O
- ifstr(i) $(OOOOOOO00O) == $(0OO0O0O0OO)
- return STATUS_FAILED
- endif
- GetRegValue $(OOOOOOO00O) "Bind" 0OOOOO0O0O
- ifint $(RegLastError) != 0
- CloseRegKey $(OOOOOOO00O)
- return STATUS_FAILED
- endif
- OpenRegKey $(!REG_H_LOCAL) "" $(000O0OO0OO) $(OOO0O0O0OO) 0OOOOOOO0O
- ifstr(i) $(0OOOOOOO0O) == $(0OO0O0O0OO)
- CloseRegKey $(OOOOOOO00O)
- return STATUS_FAILED
- endif
- EnumRegKey $(0OOOOOOO0O) OOOOOOOO0O
- ifint $(RegLastError) != 0
- CloseRegKey $(OOOOOOO00O)
- return STATUS_FAILED
- endif
- set 0OOOOOO00O = {}
- set O0OOOOO00O = $($1)
- set 00OOOOO00O = {}
- set OO0OOOO00O = \042\042\042\042\042\042\042\042
- set O0OO0000OO = *($(0OOOOO0O0O),4)
- ForListDo $(O0OO0000OO)
- Split-String $($) "\" O0OOOO0O0O
- set 00OOOO0O0O = $(!NTN_ServiceBase)"\"*($(O0OOOO0O0O),4)"\Parameters"
- OpenRegKey $(!REG_H_LOCAL) "" $(00OOOO0O0O) $(OOO0O0O0OO) OO0OOO0O0O
- ifstr $(OO0OOO0O0O) == $(0OO0O0O0OO)
- else
- GetRegValue $(OO0OOO0O0O) "SystemAdapter" 0OO0O0OO0O
- ifint $(RegLastError) != 0
- else
- set 0O0OOOO00O = *($(0OO0O0OO0O),4)
- set 0OOOOOO00O = >($(0OOOOOO00O),$(0O0OOOO00O))
- Split-String $(0O0OOOO00O) "\" O00OOOO00O
- set 000OOOO00O = *($(O00OOOO00O),4)
- set OOO0OOO00O = $(0OO0O0O0OO)
- ifstr(i) $($1) == "{}"
- QueryListSize 0OO0OOO00O $(O00OOOO00O)
- set O0O0OOO00O = $(0OO0O0O0OO)
- ForListDo $(O00OOOO00O)
- ifint $(#) == $(0OO0OOO00O)
- set O0O0OOO00O = $(O0O0OOO00O)$($2)
- endif
- set O0O0OOO00O = $(O0O0OOO00O)$($)
- EndForListDo
- set O0OOOOO00O = >($(O0OOOOO00O),$(O0O0OOO00O))
- endif
- ForListDo $(OOOOOOOO0O)
- OpenRegKey $(0OOOOOOO0O) "" *($($),1) $(OOO0O0O0OO) 00O0OOO00O
- ifstr(i) $(00O0OOO00O) != $(0OO0O0O0OO)
- GetRegValue $(00O0OOO00O) "ServiceName" OO00OOO00O
- ifint $(RegLastError) == 0
- ifstr $(000OOOO00O) == *($(OO00OOO00O),4)
- GetRegValue $(00O0OOO00O) "SoftwareName" OOO0OOO00O
- ifint $(RegLastError) == 0
- set OOOO0000OO = $(!NTN_ServiceBase)"\"*($(OOO0OOO00O),4)
- OpenRegKey $(!REG_H_LOCAL) "" $(OOOO0000OO) $(OOO0O0O0OO) O0O0OO0O0O
- ifstr(i) $(O0O0OO0O0O) == $(0OO0O0O0OO)
- set OOO0OOO00O = $(0OO0O0O0OO)
- else
- CloseRegKey $(O0O0OO0O0O)
- endif
- endif
- endif
- endif
- CloseRegKey $(00O0OOO00O)
- endif
- EndForListDo
- ifstr $(OOO0OOO00O) == $(0OO0O0O0OO)
- set 0O00OOO00O = $(OO0OOOO00O)$(000OOOO00O)$(OO0OOOO00O)
- else
- set 0O00OOO00O = $(OO0OOOO00O)*($(OOO0OOO00O),4)$(OO0OOOO00O)" "$(OO0OOOO00O)$(000OOOO00O)$(OO0OOOO00O)
- endif
- set 00OOOOO00O = >($(00OOOOO00O),$(0O00OOO00O))
- endif
- CloseRegKey $(OO0OOO0O0O)
- endif
- EndForListDo
- set-subst 00000O00OO = {{Bind,$(0O00O0O0OO),$(!REG_VT_MULTI_SZ),$(0OOOOOO00O)},+
- {Export,$(0O00O0O0OO),$(!REG_VT_MULTI_SZ),$(O0OOOOO00O)},+
- {Route,$(0O00O0O0OO),$(!REG_VT_MULTI_SZ),$(00OOOOO00O)}}
- Shell $(00O00OO0OO) AddValueList $(OOOOOOO00O) $(00000O00OO)
- CloseRegKey $(0OOOOOOO0O)
- CloseRegKey $(OOOOOOO00O)
- return STATUS_SUCCESS
- [0OO0OO0O0O]
- read-syms O0O00OO0OO
- read-syms O00OOO0OOO
- OpenRegKey $(!REG_H_LOCAL) "" $(00OO0OO0OO) $(OOO0O0O0OO) O000OOO00O
- ifstr $(O000OOO00O) != $(0OO0O0O0OO)
- GetRegValue $(O000OOO00O) "Bind" 0OOOOO0O0O
- QueryListSize 0000OOO00O *($(0OOOOO0O0O),4)
- ifint $(RegLastError) == 0
- ForListDo *($(0OOOOO0O0O),4)
- Split-String $($) "\_" O0OOOO0O0O
- QueryListSize OOOO0OO00O $(O0OOOO0O0O)
- set 00O0OO0O0O = $(!NTN_ServiceBase)"\"*($(O0OOOO0O0O),$(OOOO0OO00O))"\Parameters"
- OpenRegKey $(!REG_H_LOCAL) "" $(00O0OO0O0O) $(OOO0O0O0OO) 0OOO0OO00O
- ifstr $(0OOO0OO00O) != $(0OO0O0O0OO)
- GetRegValue $(0OOO0OO00O) "SystemAdapter" 0O00OO0O0O
- ifint $(RegLastError) == 0
- set O000OO0O0O = *($(0O00OO0O0O),4)
- Split-String $(O000OO0O0O) "\_" 0000OO0O0O
- QueryListSize OOOO0O0O0O $(0000OO0O0O)
- set 0OOO0O0O0O = $(!NTN_ServiceBase)"\"*($(0000OO0O0O),$(OOOO0O0O0O))"\Parameters\Tcpip"
- set O0OO0OO00O = 0
- OpenRegKey $(!REG_H_LOCAL) "" $(0OOO0O0O0O) $(OOO0O0O0OO) O0OO0O0O0O
- ifstr $(O0OO0O0O0O) == $(0OO0O0O0OO)
- CreateRegKey $(!REG_H_LOCAL) {$(0OOO0O0O0O),$(0O00O0O0OO),GenericClass} "" $(OOO0O0O0OO) "" O0OO0O0O0O
- set O0OO0OO00O = 1
- endif
- ifstr $(O0OO0O0O0O) != $(0OO0O0O0OO)
- SetRegValue $(O0OO0O0O0O) {IpInterfaceContext,$(0O00O0O0OO),$(!REG_VT_DWORD),$(0000OOO00O)}
- SetRegValue $(O0OO0O0O0O) {IpInterfaceContextMax,$(0O00O0O0OO),$(!REG_VT_DWORD),$(0000OOO00O)}
- OpenRegKey $(0OOO0OO00O) "" "Tcpip" $(OOO0O0O0OO) OO00OO0O0O
- ifstr $(OO00OO0O0O) != $(0OO0O0O0OO)
- ifint $(O0OO0OO00O) == 1
- Shell "", OOOOO0OO0O, $(OO00OO0O0O), $(O0OO0O0O0O)
- endif
- SetRegValue $(OO00OO0O0O) {IpInterfaceContext,$(0O00O0O0OO),$(!REG_VT_DWORD),$(0000OOO00O)}
- SetRegValue $(OO00OO0O0O) {IpInterfaceContextMax,$(0O00O0O0OO),$(!REG_VT_DWORD),$(0000OOO00O)}
- CloseRegKey $(OO00OO0O0O)
- endif
- CloseRegKey $(O0OO0O0O0O)
- endif
- endif
- CloseRegKey $(0OOO0OO00O)
- endif
- set-sub 0000OOO00O = $(0000OOO00O),1
- EndForListDo
- endif
- CloseRegKey $(O000OOO00O)
- endif
- return
- [0O00O000OO]
- return {Tcpip,NdisWan,NetBT}
- [0000O0OO0O]
- read-syms O0O00OO0OO
- read-syms O00OOO0OOO
- Shell "" OOOO00OO0O
- ForListDo $($R0)
- Shell "" 00OO0OO00O $($)
- ifint $($R0) != 0
- set OO0O0OO00O = $($R0)
- set OOOO0000OO = $(!NTN_ServiceBase)"\"$($)"\Parameters"
- OpenRegKey $(!REG_H_LOCAL) "" $(OOOO0000OO) $(OOO0O0O0OO) 000OO0OO0O
- ifstr $(000OO0OO0O) == $(0OO0O0O0OO)
- else
- GetRegValue $(000OO0OO0O) "SystemAdapter" 0O00OO0O0O
- ifint $(RegLastError) != 0
- else
- set O000OO0O0O = *($(0O00OO0O0O),4)
- Split-String $(O000OO0O0O) "\_" 0000OO0O0O
- QueryListSize OOOO0O0O0O $(0000OO0O0O)
- set 0O0O0OO00O = *($(0000OO0O0O),$(OOOO0O0O0O))
- Shell "" 00OO0OO00O $(0O0O0OO00O)
- ifint $($R0) != 0
- set O00O0OO00O = $($R0)
- Shell "" 000O0OO00O $(O00O0OO00O) $(OO0O0OO00O)
- set OOO00OO00O = $($R0)
- Shell "" 0OO00OO00O $(OOO00OO00O) $(O00O0OO00O)
- ifstr $($R0) == O00OO0O0OO
- ifint $(OOO00OO00O) != $(OO0O0OO00O)
- Shell "" O0O00OO00O $(O00O0OO00O) $(OOO00OO00O) 0 0
- Shell "" O0O00OO00O $(OO0O0OO00O) $(O00O0OO00O) $(O00O0OO00O) $(OOO00OO00O)
- DeleteRegTree $(!REG_H_LOCAL) $(000O0OO0OO)"\"$(OO0O0OO00O)
- DeleteRegTree $(!REG_H_LOCAL) $(!NTN_ServiceBase)"\NdisWan"$(OO0O0OO00O)
- else
- Shell "" O0O00OO00O $(O00O0OO00O) 0 0 0
- Shell "" O0O00OO00O $(OO0O0OO00O) $(O00O0OO00O) $(O00O0OO00O) $(OOO00OO00O)
- Shell "" O0O00OO00O 0 $(OOO00OO00O) 0 0
- DeleteRegTree $(!REG_H_LOCAL) $(000O0OO0OO)"\0"
- DeleteRegTree $(!REG_H_LOCAL) $(!NTN_ServiceBase)"\NdisWan0"
- endif
- endif
- endif
- endif
- CloseRegKey $(000OO0OO0O)
- endif
- endif
- EndForListDo
- return
- [O0O00OO00O]
- read-syms O0O00OO0OO
- read-syms O00OOO0OOO
- OpenRegKey $(!REG_H_LOCAL) "" $(!NTN_ServiceBase)"\NdisWan"$($0) $(OOO0O0O0OO) 00O00OO00O
- ifstr $(00O00OO00O) != $(0OO0O0O0OO)
- DeleteRegTree $(!REG_H_LOCAL) $(!NTN_ServiceBase)"\NdisWan"$($1)
- CreateRegKey $(!REG_H_LOCAL) {$(!NTN_ServiceBase)"\NdisWan"$($1),$(0O00O0O0OO),GenericClass} "" $(OOO0O0O0OO) "" OO000OO00O
- ifstr $(OO000OO00O) != $(0OO0O0O0OO)
- OpenRegKey $(!REG_H_LOCAL) "" $(000O0OO0OO)"\"$($0) $(OOO0O0O0OO) 0O000OO00O
- ifstr $(0O000OO00O) != $(0OO0O0O0OO)
- DeleteRegTree $(!REG_H_LOCAL) $(000O0OO0OO)"\"$($1)
- CreateRegKey $(!REG_H_LOCAL) {$(000O0OO0OO)"\"$($1),$(0O00O0O0OO),GenericClass} "" $(OOO0O0O0OO) "" O0000OO00O
- ifstr $(O0000OO00O) != $(0OO0O0O0OO)
- Shell "" OOOOO0OO0O $(00O00OO00O) $(OO000OO00O)
- OpenRegKey $(OO000OO00O) "" "Linkage" $(OOO0O0O0OO) 00OO00OO0O
- ifstr $(00OO00OO0O) == $(0OO0O0O0OO)
- CreateRegKey $(OO000OO00O) {"Linkage",$(0O00O0O0OO),GenericClass} "" $(OOO0O0O0OO) "" 00OO00OO0O
- ifstr $(00OO00OO0O) != $(0OO0O0O0OO)
- CreateRegKey $(OO000OO00O) {"Disabled",$(0O00O0O0OO),GenericClass} "" $(OOO0O0O0OO) "" 00000OO00O
- ifstr $(00000OO00O) != $(0OO0O0O0OO)
- CloseRegKey $(00000OO00O)
- endif
- endif
- endif
- ifstr $(00OO00OO0O) != $(0OO0O0O0OO)
- set OO0OOOO00O = \042\042\042\042\042\042\042\042
- set-subst 00000O00OO = {{Bind,$(0O00O0O0OO),$(!REG_VT_MULTI_SZ),{"\Device\NdisWan"$($1)}},+
- {Export,$(0O00O0O0OO),$(!REG_VT_MULTI_SZ),{"\Device\NdisWan"$($1)}},+
- {Route,$(0O00O0O0OO),$(!REG_VT_MULTI_SZ),{$(OO0OOOO00O)"NdisWan"$($1)$(OO0OOOO00O)}}}
- Shell $(00O00OO0OO) AddValueList $(00OO00OO0O) $(00000O00OO)
- CloseRegKey $(00OO00OO0O)
- endif
- OpenRegKey $(OO000OO00O) "" "Parameters" $(OOO0O0O0OO) 000OO0OO0O
- ifstr $(000OO0OO0O) != $(0OO0O0O0OO)
- ifint $($2) == 0
- DeleteRegTree $(000OO0OO0O) DNESignature
- DeleteRegValue $(000OO0OO0O) "SourceParameters"
- else
- set 00000O00OO = {{InstanceNumber,$(0O00O0O0OO),$(!REG_VT_DWORD),$($2)},+
- {SystemAdapter,$(0O00O0O0OO),$(!REG_VT_SZ),"\Device\NdisWan"$($3)}}
- Shell $(00O00OO0OO) AddValueList $(000OO0OO0O) $(00000O00OO)
- GetRegValue $(000OO0OO0O) "SourceParameters" OOOOO0O00O
- ifint $(RegLastError) == 0
- set OOOO0000OO = $(!NTN_ServiceBase)"\NdisWan"$($3)"\Parameters"
- SetRegValue $(000OO0OO0O) {SourceParameters,$(0O00O0O0OO),$(!REG_VT_SZ),$(OOOO0000OO)}
- endif
- OpenRegKey $(000OO0OO0O) "" $(OO00OO0OOO) $(OOO0O0O0OO) 0OOOO0O00O
- ifstr $(0OOOO0O00O) != $(0OO0O0O0OO)
- set 00000O00OO = {{AdapterNumber,$(0O00O0O0OO),$(!REG_VT_SZ),$($2)},+
- {Device,$(0O00O0O0OO),$(!REG_VT_SZ),"NdisWan"$($3)},+
- {InstanceNumber,$(0O00O0O0OO),$(!REG_VT_DWORD),$($2)}}
- Shell $(00O00OO0OO) AddValueList $(0OOOO0O00O) $(00000O00OO)
- CloseRegKey $(0OOOO0O00O)
- endif
- endif
- CloseRegKey $(000OO0OO0O)
- endif
- Shell "" OOOOO0OO0O $(0O000OO00O) $(O0000OO00O)
- SetRegValue $(O0000OO00O) {ServiceName,$(0O00O0O0OO),$(!REG_VT_SZ),"NdisWan"$($1)}
- GetRegValue $(O0000OO00O) "Title" O0OO0OOO0O
- ifint $(RegLastError) == 0
- Split-String *($(O0OO0OOO0O),4) "[]" O0OOO0O00O
- set 00OOO0O00O = 0
- set OO0OO0O00O = $(0OO0O0O0OO)
- ForListDo $(O0OOO0O00O)
- ifstr $($) == "["
- set OO0OO0O00O = $(OO0OO0O00O)$($)
- set-add 00OOO0O00O = $(00OOO0O00O),1
- else-ifint $(00OOO0O00O) == 1
- set OO0OO0O00O = $(OO0OO0O00O)$($1)
- set-add 00OOO0O00O = $(00OOO0O00O),1
- else-ifint $(00OOO0O00O) == 3
- set OO0OO0O00O = $(OO0OO0O00O)$($3)
- set-add 00OOO0O00O = $(00OOO0O00O),1
- else
- set OO0OO0O00O = $(OO0OO0O00O)$($)
- endif
- EndForListDo
- SetRegValue $(O0000OO00O) {Title,$(0O00O0O0OO),$(!REG_VT_SZ),$(OO0OO0O00O)}
- endif
- OpenRegKey $(O0000OO00O) "" "NetRules" $(OOO0O0O0OO) 0O0OO0O00O
- ifstr $(0O0OO0O00O) != $(0OO0O0O0OO)
- set OO0OOOO00O = \042\042
- set-subst O00OO0O00O = {bindform,$(0O00O0O0OO),$(!REG_VT_SZ),$(OO0OOOO00O)NdisWan$($1)$(OO0OOOO00O)" yes yes container"}
- SetRegValue $(0O0OO0O00O) $(O00OO0O00O)
- CloseRegKey $(0O0OO0O00O)
- endif
- CloseRegKey $(O0000OO00O)
- endif
- CloseRegKey $(0O000OO00O)
- endif
- CloseRegKey $(OO000OO00O)
- endif
- CloseRegKey $(00O00OO00O)
- endif
- return
- [000O0OO00O]
- read-syms O0O00OO0OO
- read-syms O00OOO0OOO
- Shell "" 0OO00OO00O $($1) $($0)
- ifstr $($R0) == O00OO0O0OO
- set 000OO0O00O = $($1)
- else
- set 000OO0O00O = $($0)
- endif
- set OOO0O0O00O = 0
- set 0OO0O0O00O = 0
- OpenRegKey $(!REG_H_LOCAL) "" $(000O0OO0OO) $(OOO0O0O0OO) 0OOOOOOO0O
- ifstr(i) $(0OOOOOOO0O) != $(0OO0O0O0OO)
- OpenRegKey $(0OOOOOOO0O) "" $($0) $(OOO0O0O0OO) O0O0O0O00O
- ifint $(RegLastError) == 0
- GetRegValue $(O0O0O0O00O) "ProductName" OO0OOOOO0O
- ifint $(RegLastError) == 0
- set OOO0OOO00O = *($(OO0OOOOO0O),4)
- EnumRegKey $(0OOOOOOO0O) OOOO0OOO0O
- ifint $(RegLastError) == 0
- ForListDo $(OOOO0OOO0O)
- ifint $(0OO0O0O00O) < *($($),1)
- set 0OO0O0O00O = *($($),1)
- endif
- OpenRegKey $(0OOOOOOO0O) "" *($($),1) $(OOO0O0O0OO) 0OOO0OOO0O
- ifstr(i) $(0OOO0OOO0O) == $(0OO0O0O0OO)
- else
- GetRegValue $(0OOO0OOO0O) "ProductName" OO0OOOOO0O
- ifint $(RegLastError) != 0
- else
- ifstr *($(OO0OOOOO0O),4) == $(OOO0OOO00O)
- GetRegValue $(0OOO0OOO0O) "SoftwareName" 00O0O0O00O
- ifint $(RegLastError) != 0
- else
- Shell "" 0OO00OO00O *($($),1) $(OOO0O0O00O)
- ifstr $($R0) == O00OO0O0OO
- set OOO0O0O00O = *($($),1)
- endif
- endif
- endif
- endif
- CloseRegKey $(0OOO0OOO0O)
- endif
- EndForListDo
- endif
- endif
- CloseRegKey $(O0O0O0O00O)
- endif
- CloseRegKey $(0OOOOOOO0O)
- endif
- OO00O0O00O = +
- Shell "" 0OO00OO00O $(OOO0O0O00O) $(000OO0O00O)
- ifstr $($R0) == O00OO0O0OO
- ifint $(000OO0O00O) < $(0OO0O0O00O)
- set-add 000OO0O00O = $(0OO0O0O00O),1
- else
- set-add 000OO0O00O = $(000OO0O00O),1
- endif
- goto OO00O0O00O
- endif
- return $(000OO0O00O) $(OOO0O0O00O) $(0OO0O0O00O)
- [00OO0OO00O]
- read-syms O0O00OO0OO
- read-syms O00OOO0OOO
- Split-String $($0) "0123456789" 0O00O0O00O
- set O000O0O00O = 0
- ifstr(i) *($(0O00O0O00O),1) == "NdisWan"
- ForListDo $(0O00O0O00O)
- ifint $(#) > 1
- set-mul O000O0O00O = $(O000O0O00O),10
- set-add O000O0O00O = $(O000O0O00O),$($)
- endif
- EndForListDo
- endif
- return $(O000O0O00O)
- [0OO00OO00O]
- Split-String $($0) $($0) 0000O0O00O
- QueryListSize OOOO00O00O $(0000O0O00O)
- Split-String $($1) $($1) 0OOO00O00O
- QueryListSize O0OO00O00O $(0OOO00O00O)
- ifint *($(0000O0O00O),1) == *($(0OOO00O00O),1)
- ifint $(OOOO00O00O) > $(O0OO00O00O)
- set 00OO00O00O = O00OO0O0OO
- else-ifint $(OOOO00O00O) < $(O0OO00O00O)
- set 00OO00O00O = 000OO0O0OO
- else
- ifint *($(0000O0O00O),2) > *($(0OOO00O00O),2)
- set 00OO00O00O = O00OO0O0OO
- else
- set 00OO00O00O = 000OO0O0OO
- endif
- endif
- else-ifint *($(0000O0O00O),1) > *($(0OOO00O00O),1)
- set 00OO00O00O = O00OO0O0OO
- else
- set 00OO00O00O = 000OO0O0OO
- endif
- return $(00OO00O00O)
- [OO0O00OO0O]
- set OO0O00O00O = $($0)
- set 00OO00OO0O = $($1)
- set 0OOO00OO0O = $($2)
- set O0OO00OO0O = $($3)
- set 0O0O00O00O = $($4)
- read-syms O0O00OO0OO
- read-syms O00OOO0OOO
- GetRegValue $(00OO00OO0O) "Bind" 0OOOOO0O0O
- GetRegValue $(00OO00OO0O) "Export" O00O00O00O
- GetRegValue $(00OO00OO0O) "Route" 000O00O00O
- set 0O0O0000OO = 0
- QueryListSize 0O0O0000OO $(0OOOOO0O0O)
- ifint $(0O0O0000OO) != 4
- goto OOO000O00O
- endif
- set 0O0O0000OO = 0
- QueryListSize 0O0O0000OO *($(0OOOOO0O0O),4)
- ifint $(0O0O0000OO) < 1
- goto OOO000O00O
- endif
- set 0OO000O00O = {}
- set O0O000O00O = {}
- set 00O000O00O = {}
- set OO0000O00O = $(000OO0O0OO)
- ForListDo *($(0OOOOO0O0O),4)
- Split-String $($) "\_" O0OOOO0O0O
- QueryListSize 0O0000O00O $(O0OOOO0O0O)
- set O00000O00O = *($(O0OOOO0O0O),$(0O0000O00O))
- ifcontains(i) $(O00000O00O) in $(0OOO00OO0O)
- set OO0000O00O = $(O00OO0O0OO)
- endif
- EndForListDo
- ifint $(0O0O00O00O) == $(O00OO0O0OO)
- ifint $(OO0000O00O) == $(000OO0O0OO)
- goto OOO000O00O
- endif
- endif
- ForListDo *($(0OOOOO0O0O),4)
- Split-String $($) "\_" O0OOOO0O0O
- QueryListSize 0O0000O00O $(O0OOOO0O0O)
- set O00000O00O = *($(O0OOOO0O0O),$(0O0000O00O))
- ifint $(0O0O00O00O) == $(O00OO0O0OO)
- ifcontains(i) $(O00000O00O) in $(0OOO00OO0O)
- set 0OO000O00O = >($(0OO000O00O), $($))
- set O0O000O00O = >($(O0O000O00O), *(*($(O00O00O00O),4),$(#)))
- set 00O000O00O = >($(00O000O00O), *(*($(000O00O00O),4),$(#)))
- else
- ifcontains(i) $(O00000O00O) not-in $(O0OO00OO0O)
- endif
- endif
- else
- ifcontains(i) $(O00000O00O) not-in $(0OOO00OO0O)
- set 0OO000O00O = >($(0OO000O00O), $($))
- set O0O000O00O = >($(O0O000O00O), *(*($(O00O00O00O),4),$(#)))
- set 00O000O00O = >($(00O000O00O), *(*($(000O00O00O),4),$(#)))
- endif
- endif
- EndForListDo
- set 000000O00O = {*($(0OOOOO0O0O),1),+
- *($(0OOOOO0O0O),2),+
- *($(0OOOOO0O0O),3),+
- $(0OO000O00O)}
- set OOOOOO000O = {*($(O00O00O00O),1), +
- *($(O00O00O00O),2), +
- *($(O00O00O00O),3), +
- $(O0O000O00O)}
- set 0OOOOO000O = {*($(000O00O00O),1), +
- *($(000O00O00O),2), +
- *($(000O00O00O),3), +
- $(00O000O00O)}
- SetRegValue $(00OO00OO0O) $(000000O00O)
- SetRegValue $(00OO00OO0O) $(OOOOOO000O)
- SetRegValue $(00OO00OO0O) $(0OOOOO000O)
- OOO000O00O = +
- return $(O00OO0O0OO)
- [Install-Option]
- set STF_VITAL = ""
- ifstr(i) $(O00000O0OO) == "YES"
- AddSectionFilesToCopyList O0OOOO000O-$(OO0000O0OO) $(0O0000O0OO) $(!STF_WINDOWSSYSPATH)\drivers
- endif
- ifstr(i) $(000000O0OO) == "YES"
- set !STF_NCP_FLUSH_COPYLIST = TRUE
- CopyFilesInCopyList
- endif
- ifstr(i) $(OOOOOO00OO) == "YES"
- endif
- exit
- [Source Media Descriptions]
- 1 = "DNE Disk", TAGFILE = Disk1
- [O0OOOO000O-DNE]
- 1, dne.sys, OVERWRITE=ALWAYS
- [O0OOOO000O-Inf]
- 1, oemsetnt.inf, OVERWRITE=ALWAYS, RENAME=$(!UG_Filename)
- [0OOOOO00OOENG]
- Help = "&Help"
- Exit = "Cancel"
- OK = "OK"
- HelpContext = ""
- Continue = "Continue"
- Cancel = "Cancel"
- [O00OOO0OOOENG]
- O0OOOO00OO = "Deterministic Network Enhancer Setup"
- 00OOOO000O = "Deterministic Network Enhancer"
- OO0OOO000O = "The Deterministic Networks Network Enhancer."
- 0OOOO000OO = "Deterministic Network Enhancer"
- OOO00O00OO = "Deterministic Network Enhancer"
- OOOOO000OO = "Deterministic Network Enhancer"
- 00OOO000OO = "Deterministic Network Enhancer Transport"
- O0OOO000OO = "Deterministic Network Enhancer Transport"
- OO00OO00OO = "Deterministic Network Enhancer Transport"
- 000OO000OO = "Deterministic Network Enhancer Adapter Shim"
- 0O0OO000OO = "Deterministic Network Enhancer Adapter Shim"
- O00OO000OO = "Deterministic Network Enhancer Adapter Shim"
- 000O0OOO0O = "DNE"
- OOO00OOO0O = "Deterministic Network Enhancer Virtual Adapter"
- 0O0OOO000O = "Deterministic Network Enhancer Virtual Adapter"
- O00OOO000O = "Error: "$(O0OOOO00OO)
- 000OOO000O = "Shell Code Error."
- 0O00OO00OO = "is already installed."
- 00OO0O00OO = "requires NT 4.0 and Service Pack 3."
- [OO0O0O00OOENG]
- 0O0O0O00OO = "Installing the Deterministic Network Enhancer"
- [O0O000O0OOENG]
- DNE = "Deterministic Network Enhancer"
-